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-01-12 17:08:27 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2022-01-12 17:26:58 +0300
commitb4b13942c3ca6dcf956b9097a416aae6e7ea54b7 (patch)
tree25bc650b9662728077b9c35bff0d171297772faa /.gitlab-ci.yml
parentcd2fc344d9558701bdb6b8725f77d8d8a133bcf5 (diff)
ci: Cache dependencies in "verify" job
The "verify" CI job executes the "verify" Makefile target, which in turn verifies that protobuf definitions are up-to-date. As a consequence, it needs the protoc compiler, but we're not using the dependencies cache for this target. Add the dependencies cache to the job to avoid rebuilding of protoc every time the job runs and make sure that protoc is built.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d8ed16d70..b996c16dd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -37,6 +37,7 @@ include:
prefix: git-${GIT_VERSION}
paths:
- _build/deps
+ - _build/tools
policy: pull
.cache_gems:
@@ -119,7 +120,7 @@ build:
policy: pull-push
script:
- go version
- - make all git
+ - make all git $(pwd)/_build/tools/protoc
- _support/test-boot .
parallel:
matrix:
@@ -261,6 +262,7 @@ test:fuzz_objectinfo:
verify:
stage: test
cache:
+ - *cache_deps_configuration
- *cache_gems_configuration
- *cache_go_configuration
script: