Complete Pipeline

Taking into account the infrastructure prerequisites specific of Terraform (state-locking) and the need to create two releases, one for review and one for production, the pipeline will be defined this way on Gitlab CI:

stages:
  - prerequisites
  - finops
  - infrastructure
  - build
  - test
  - release
  - deploy
  - prod prerequisites
  - prod infrastructure
  - prod build
  - prod release
  - prod deploy
  - prod operate
  - prod monitor
  - prod finops

Which gives this final version of the pipeline:

Complete Pipeline

The pipeline is complete, now that it contains:

  • The DevOps Lifecycle;
  • Continuous Integration / Continuous Delivery;
  • GitOps;
  • Dev / Review / Production environments.