Commit b7a80fa4 authored by Balasankar "Balu" C's avatar Balasankar "Balu" C

Make CNG_PROJECT_PATH configurable

parent 7a610b64
......@@ -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