Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2022-03-04 13:11:28 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2022-03-28 10:02:15 +0300
commit85d5fa4f7eb86c44b902de4331cead040b773a64 (patch)
tree8d6f3e3ec613673262f3b3180e80cd2535aa86cf
parent5954ca9ab687e8d137e8b67538ba2b5b17edcb9c (diff)
ci: Invalidate caches when CI configuration changes
Whenever the CI configuration changes chances are quite high that the caches will become stale. Let's thus invalidate them in case the CI configuration changes.
-rw-r--r--.gitlab-ci.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 92bbe4302..3239dd7af 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -37,6 +37,7 @@ include:
cache: &cache_deps_configuration
key:
files:
+ - .gitlab-ci.yml
- Makefile
prefix: git-${GIT_VERSION}
paths:
@@ -48,6 +49,7 @@ include:
cache: &cache_gems_configuration
key:
files:
+ - .gitlab-ci.yml
- ruby/Gemfile.lock
prefix: debian-${DEBIAN_VERSION}-ruby-${RUBY_VERSION}
paths:
@@ -58,6 +60,7 @@ include:
cache: &cache_go_configuration
key:
files:
+ - .gitlab-ci.yml
- go.sum
prefix: go-${GO_VERSION}
paths: