aboutsummaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2023-02-09 22:20:42 +0000
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2023-02-09 22:20:42 +0000
commitd66efa30cdd84a11348fd6a3a9f0b3f89a5345ff (patch)
tree2322a646324757e612fc923cecdc856cd0dbcf72 /.cirrus.yml
parent1313b9073574be0c7d859ebd6bab2bd09192fe6d (diff)
ci: Fix `fingerprint_script` for `depends` subdir caches
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 232b24117a..673bc427e1 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -49,7 +49,7 @@ container_depends_template: &CONTAINER_DEPENDS_TEMPLATE
memory: 8G # Set to 8GB to avoid OOM. https://cirrus-ci.org/guide/linux/#linux-containers
depends_built_cache:
folder: "depends/built"
- fingerprint_script: echo $CIRRUS_TASK_NAME $(git rev-list -1 HEAD ./depends)
+ fingerprint_script: echo $CIRRUS_TASK_NAME $(git rev-parse HEAD:depends)
global_task_template: &GLOBAL_TASK_TEMPLATE
<< : *CONTAINER_DEPENDS_TEMPLATE
@@ -342,7 +342,7 @@ task:
fingerprint_key: "ANDROID_API_LEVEL=28 ANDROID_BUILD_TOOLS_VERSION=28.0.3 ANDROID_NDK_VERSION=23.2.8568313"
depends_sources_cache:
folder: "depends/sources"
- fingerprint_script: git rev-list -1 HEAD ./depends
+ fingerprint_script: git rev-parse HEAD:depends/packages
<< : *MAIN_TEMPLATE
env:
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV