diff options
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 391fe742..cfacc42f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,10 +3,12 @@ image: buildstream/buildstream-fedora:latest variables: # Store everything under the /builds directory. This is a separate Docker # volume. Note that GitLab CI will only cache stuff inside the build - # directory. - XDG_CACHE_HOME: "${CI_PROJECT_DIR}/cache" + # directory. Note also that YBD recursively scans the current directory + # to find what definitions to build -- that's why we put the cache in a + # hidden directory. + XDG_CACHE_HOME: "${CI_PROJECT_DIR}/.cache" YBD_base: "/cache/ybd_base" - YBD_gits: "${CI_PROJECT_DIR}/cache/ybd_base/gits" + YBD_gits: "${CI_PROJECT_DIR}/.cache/ybd_base/gits" GET_SOURCES_ATTEMPTS: 3 # Store all the downloaded git and ostree repos in the distributed cache. @@ -104,7 +106,7 @@ ybd-build-system-x86_64-chroot-deploy: key: default policy: pull paths: - - cache/ybd_base/gits + - .cache/ybd_base/gits artifacts: name: "${CI_BUILD_NAME}-${CI_BUILD_REF}" paths: @@ -184,7 +186,7 @@ ybd-minimal-system-x86_64-chroot-deploy: key: default policy: pull paths: - - cache/ybd_base/gits + - .cache/ybd_base/gits artifacts: name: "${CI_BUILD_NAME}-${CI_BUILD_REF}" paths: |