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: ...@@ -433,7 +433,7 @@ cloud-native-image:
SCRIPT_NAME: trigger-build SCRIPT_NAME: trigger-build
script: script:
- gem install gitlab --no-document - 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: only:
- tags@gitlab-org/gitlab-ce - tags@gitlab-org/gitlab-ce
- tags@gitlab-org/gitlab-ee - tags@gitlab-org/gitlab-ee
......
...@@ -6,7 +6,7 @@ require 'cgi' ...@@ -6,7 +6,7 @@ require 'cgi'
module Trigger module Trigger
OMNIBUS_PROJECT_PATH = 'gitlab-org/omnibus-gitlab'.freeze 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'] TOKEN = ENV['BUILD_TRIGGER_TOKEN']
def self.ee? 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