From 0f751f6f17d1f457276f15632b31203f658ec4c9 Mon Sep 17 00:00:00 2001 From: Mark Lapierre Date: Mon, 17 Dec 2018 13:22:09 -0500 Subject: Run gitlab:assets:compile on qa jobs Optionally compiling assets when needed for qa jobs proved unworkable so instead we fall back on compiling them for all qa jobs. --- scripts/trigger-build | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'scripts/trigger-build') diff --git a/scripts/trigger-build b/scripts/trigger-build index 14af3281106..4032ba853e6 100755 --- a/scripts/trigger-build +++ b/scripts/trigger-build @@ -68,7 +68,7 @@ module Trigger def base_variables { - 'GITLAB_REF_SLUG' => ref_slug, + 'GITLAB_REF_SLUG' => ENV['CI_COMMIT_REF_SLUG'], 'TRIGGERED_USER' => ENV['TRIGGERED_USER'] || ENV['GITLAB_USER_NAME'], 'TRIGGER_SOURCE' => ENV['CI_JOB_URL'], 'TOP_UPSTREAM_SOURCE_PROJECT' => ENV['CI_PROJECT_PATH'], @@ -77,12 +77,6 @@ module Trigger } end - def ref_slug - return 'master' if ENV['CI_COMMIT_REF_SLUG'] =~ %r{(\Aqa[/-]|-qa\z)} - - ENV['CI_COMMIT_REF_SLUG'] - end - # Read version files from all components def version_file_variables Dir.glob("*_VERSION").each_with_object({}) do |version_file, params| -- cgit v1.2.3