summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml14
1 files changed, 12 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b15cc9fd..26bb2c47 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -104,7 +104,12 @@ ybd-build-system-x86_64-chroot-deploy:
<<: *ybd_before_script
script:
- ybd/ybd.py clusters/build-system-x86_64-chroot-deploy.morph x86_64
- <<: *ybd_cache
+ cache:
+ # GitLab defined default key is "default". Reuse this for ybd.
+ key: default
+ policy: pull
+ paths:
+ - cache/ybd_base/gits
artifacts:
name: "${CI_BUILD_NAME}-${CI_BUILD_REF}"
paths:
@@ -179,7 +184,12 @@ ybd-minimal-system-x86_64-chroot-deploy:
<<: *ybd_before_script
script:
- ybd/ybd.py clusters/minimal-system-x86_64-chroot-deploy.morph x86_64
- <<: *ybd_cache
+ cache:
+ # GitLab defined default key is "default". Reuse this for ybd.
+ key: default
+ policy: pull
+ paths:
+ - cache/ybd_base/gits
artifacts:
name: "${CI_BUILD_NAME}-${CI_BUILD_REF}"
paths: