Commit 8a09f248 authored by DJ Mountney's avatar DJ Mountney

Checkout the entire git repo for the cloud native trigger.

The *_VERSION files in the repo are passed along to the trigger to
inform it what versions of shell and gitaly to build/tag.

As a result, this isn't just a single-script job.
parent fffdce87
...@@ -425,15 +425,16 @@ review-docs-cleanup: ...@@ -425,15 +425,16 @@ review-docs-cleanup:
# Trigger a docker image build in CNG (Cloud Native GitLab) repository # Trigger a docker image build in CNG (Cloud Native GitLab) repository
# #
cloud-native-image: cloud-native-image:
<<: *single-script-job
stage: build stage: build
image: ruby:2.4-alpine
before_script: []
allow_failure: true allow_failure: true
cache: {}
variables: variables:
<<: *single-script-job-variables GIT_DEPTH: "1"
SCRIPT_NAME: trigger-build
script: script:
- gem install gitlab --no-document - 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: only:
- tags@gitlab-org/gitlab-ce - tags@gitlab-org/gitlab-ce
- tags@gitlab-org/gitlab-ee - 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