Commit 2838618a authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'cloud-native-checkout' into 'master'

Checkout the entire git repo for the cloud native trigger.

Closes charts/gitlab#659

See merge request gitlab-org/gitlab-ee!6842
parents 52333208 8a09f248
......@@ -425,15 +425,16 @@ review-docs-cleanup:
# Trigger a docker image build in CNG (Cloud Native GitLab) repository
#
cloud-native-image:
<<: *single-script-job
stage: build
image: ruby:2.4-alpine
before_script: []
allow_failure: true
cache: {}
variables:
<<: *single-script-job-variables
SCRIPT_NAME: trigger-build
GIT_DEPTH: "1"
script:
- gem install gitlab --no-document
- CNG_PROJECT_PATH="gitlab-org/build/CNG" BUILD_TRIGGER_TOKEN=$CI_JOB_TOKEN ./$SCRIPT_NAME cng
- CNG_PROJECT_PATH="gitlab-org/build/CNG" BUILD_TRIGGER_TOKEN=$CI_JOB_TOKEN ./scripts/trigger-build cng
only:
- tags@gitlab-org/gitlab-ce
- tags@gitlab-org/gitlab-ee
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment