summaryrefslogtreecommitdiff
path: root/scripts/generate-e2e-pipeline
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/generate-e2e-pipeline')
-rwxr-xr-xscripts/generate-e2e-pipeline3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/generate-e2e-pipeline b/scripts/generate-e2e-pipeline
index f541ae6665c..0d46a117719 100755
--- a/scripts/generate-e2e-pipeline
+++ b/scripts/generate-e2e-pipeline
@@ -18,8 +18,11 @@ if [ "$QA_SKIP_ALL_TESTS" == "true" ]; then
exit
fi
+# set custom cache key to override default cache in pipeline-common because we use bundle to install gitlab-qa gem
+qa_cache_key="qa-e2e-ruby-${RUBY_VERSION}-$(md5sum qa/Gemfile.lock | awk '{ print $1 }')"
variables=$(cat <<YML
variables:
+ GITLAB_QA_CACHE_KEY: "$qa_cache_key"
GITLAB_VERSION: "$(cat VERSION)"
COLORIZED_LOGS: "true"
QA_TESTS: "$QA_TESTS"