Welcome to mirror list, hosted at ThFree Co, Russian Federation.

main.gitlab-ci.yml « release-environments « ci « .gitlab - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7eb67509301ee4d3779a58eea667d009831fb2c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
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