--- include: - local: .gitlab/ci/cng/main.gitlab-ci.yml review-build-cng-env: allow_failure: true review-build-cng: needs: ["review-build-cng-env"] variables: IMAGE_TAG_EXT: "-${CI_COMMIT_SHORT_SHA}" allow_failure: true review-deploy-env: allow_failure: true stage: deploy needs: ["review-build-cng"] variables: DEPLOY_ENV: deploy.env script: - ./scripts/construct-release-environments-versions.rb > $DEPLOY_ENV artifacts: reports: dotenv: $DEPLOY_ENV paths: - $DEPLOY_ENV expire_in: 7 days when: always review-deploy: allow_failure: true stage: deploy needs: ["review-deploy-env"] inherit: variables: false variables: VERSIONS: "${VERSIONS}" ENVIRONMENT: "${ENVIRONMENT}" trigger: project: gitlab-com/gl-infra/release-environments branch: main strategy: depend