Commit 363d0264 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'cng-repo-env-variable' into 'master'

Make CNG_PROJECT_PATH configurable for releasing helm charts

Closes charts/gitlab#644

See merge request gitlab-org/gitlab-ee!6760
parents bb618525 b7a80fa4
......@@ -433,7 +433,7 @@ cloud-native-image:
SCRIPT_NAME: trigger-build
script:
- gem install gitlab --no-document
- BUILD_TRIGGER_TOKEN=$CI_JOB_TOKEN ./$SCRIPT_NAME cng
- CNG_PROJECT_PATH="gitlab-org/build/CNG" BUILD_TRIGGER_TOKEN=$CI_JOB_TOKEN ./$SCRIPT_NAME cng
only:
- tags@gitlab-org/gitlab-ce
- tags@gitlab-org/gitlab-ee
......
......@@ -6,7 +6,7 @@ require 'cgi'
module Trigger
OMNIBUS_PROJECT_PATH = 'gitlab-org/omnibus-gitlab'.freeze
CNG_PROJECT_PATH = 'gitlab-org/build/CNG-mirror'.freeze
CNG_PROJECT_PATH = ENV['CNG_PROJECT_PATH'] || 'gitlab-org/build/CNG-mirror'.freeze
TOKEN = ENV['BUILD_TRIGGER_TOKEN']
def self.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