Files
cicd/README.md
2024-05-12 06:23:26 +00:00

1.4 KiB

CI/CD Pipeline for Goghvideo application

This repository contains the helm charts to mange and deploy the Tekton CI/CD pipeline for building, testing and promoting changes to the microservices to production.

  1. The eventlistener receives webhooks from gitea and validates the event using the gitea interceptor module and parameters defined in the triggerbinding
  2. Using the triggertemplate, a job run is created based on the pipeline template
  3. The pipeline executes a number of steps, including:
    • Setting a Pending state on the Gitea pull request
    • Cloning the repo and calculating a semver for the application build
    • Linting the application code (future test could include integration with static scanning engines, code coverage, unit testing, etc)
    • Compiling the application and building container images
    • Preparing an ephemeral namespace with localized RabbitMQ, application under test and deploying release versions of additional service components
    • Performing an end-to-end test, including dropping a test file, validatation of successful converstion and response from Twilio on successful notification event
    • Updating PR status-check with success/failure status
    • Merge branch into main
    • Updating production helm charts with new image tag and triggering an ArgoCD sync