summaryrefslogtreecommitdiff
path: root/.gitlab/ci/cng.gitlab-ci.yml
blob: fa22c22a8abf75e7a027a0042e5ee7e17a5f44b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Make sure to update all the similar conditions in other CI config files if you modify these conditions
.if-canonical-dot-com-gitlab-org-groups-tag: &if-canonical-dot-com-gitlab-org-groups-tag
  if: '$CI_SERVER_HOST == "gitlab.com" && $CI_PROJECT_NAMESPACE =~ /^gitlab-org($|\/)/ && $CI_COMMIT_TAG'

cloud-native-image:
  image: ruby:2.6-alpine
  dependencies: []
  stage: post-test
  allow_failure: true
  variables:
    GIT_DEPTH: "1"
  script:
    - install_gitlab_gem
    - CNG_PROJECT_PATH="gitlab-org/build/CNG" BUILD_TRIGGER_TOKEN=$CI_JOB_TOKEN ./scripts/trigger-build cng
  rules:
    - <<: *if-canonical-dot-com-gitlab-org-groups-tag
      when: manual