Commit e227fa76 authored by Rémy Coutable's avatar Rémy Coutable

ci: Update the setup-test-env cache when GITALY_SERVER_VERSION changes

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent c079e04e
...@@ -173,7 +173,7 @@ update-setup-test-env-cache: ...@@ -173,7 +173,7 @@ update-setup-test-env-cache:
extends: extends:
- setup-test-env - setup-test-env
- .setup-test-env-cache-push - .setup-test-env-cache-push
- .shared:rules:update-cache - .shared:rules:update-setup-test-env-cache
artifacts: artifacts:
paths: [] # This job's purpose is only to update the cache. paths: [] # This job's purpose is only to update the cache.
......
...@@ -111,6 +111,9 @@ ...@@ -111,6 +111,9 @@
- ".gitlab/ci/build-images.gitlab-ci.yml" - ".gitlab/ci/build-images.gitlab-ci.yml"
- ".gitlab/ci/qa.gitlab-ci.yml" - ".gitlab/ci/qa.gitlab-ci.yml"
.gitaly-patterns: &gitaly-patterns
- "GITALY_SERVER_VERSION"
.workhorse-patterns: &workhorse-patterns .workhorse-patterns: &workhorse-patterns
- "GITLAB_WORKHORSE_VERSION" - "GITLAB_WORKHORSE_VERSION"
- "workhorse/**/*" - "workhorse/**/*"
...@@ -310,6 +313,11 @@ ...@@ -310,6 +313,11 @@
- <<: *if-security-schedule - <<: *if-security-schedule
- <<: *if-merge-request-title-update-caches - <<: *if-merge-request-title-update-caches
.shared:rules:update-setup-test-env-cache:
extends: .shared:rules:update-cache
rules:
- changes: *gitaly-patterns
###################### ######################
# Build images rules # # Build images rules #
###################### ######################
......
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