summaryrefslogtreecommitdiff
path: root/scripts/trigger-build.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-11-10 15:08:00 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-11-10 15:08:00 +0000
commit609943de5e2ee6c3bf0f09d3fb1d5fc38ed5a4ed (patch)
treed6c366584972d84f9171881fa5977e59b123bff6 /scripts/trigger-build.rb
parentbe2696666feee6e1045e0991309b71ce7f38a413 (diff)
downloadgitlab-ce-609943de5e2ee6c3bf0f09d3fb1d5fc38ed5a4ed.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts/trigger-build.rb')
-rwxr-xr-xscripts/trigger-build.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/trigger-build.rb b/scripts/trigger-build.rb
index 897ca9f473e..8dfab8dd2eb 100755
--- a/scripts/trigger-build.rb
+++ b/scripts/trigger-build.rb
@@ -160,6 +160,8 @@ module Trigger
end
class CNG < Base
+ ASSETS_HASH = "cached-assets-hash.txt"
+
def variables
# Delete variables that aren't useful when using native triggers.
super.tap do |hash|
@@ -187,7 +189,6 @@ module Trigger
"TRIGGER_BRANCH" => ref,
"GITLAB_VERSION" => ENV['CI_COMMIT_SHA'],
"GITLAB_TAG" => ENV['CI_COMMIT_TAG'], # Always set a value, even an empty string, so that the downstream pipeline can correctly check it.
- "GITLAB_ASSETS_TAG" => ENV['CI_COMMIT_TAG'] ? ENV['CI_COMMIT_REF_NAME'] : ENV['CI_COMMIT_SHA'],
"FORCE_RAILS_IMAGE_BUILDS" => 'true',
"CE_PIPELINE" => Trigger.ee? ? nil : "true", # Always set a value, even an empty string, so that the downstream pipeline can correctly check it.
"EE_PIPELINE" => Trigger.ee? ? "true" : nil # Always set a value, even an empty string, so that the downstream pipeline can correctly check it.