cirrus: Only cache releases when needed

This does not change behavior, but removes unneeded and empty cache
instructions for tasks that don't need them.
This commit is contained in:
MarcoFalke
2021-03-28 18:43:56 +02:00
parent fa97a17ac3
commit ffff4e7373

View File

@ -35,8 +35,6 @@ global_task_template: &GLOBAL_TASK_TEMPLATE
folder: "/tmp/cirrus-ci-build/depends/built" folder: "/tmp/cirrus-ci-build/depends/built"
depends_sdk_cache: depends_sdk_cache:
folder: "/tmp/cirrus-ci-build/depends/sdk-sources" folder: "/tmp/cirrus-ci-build/depends/sdk-sources"
depends_releases_cache:
folder: "/tmp/cirrus-ci-build/releases"
ci_script: ci_script:
- ./ci/test_run_all.sh - ./ci/test_run_all.sh
@ -103,6 +101,8 @@ task:
# For faster CI feedback, immediately schedule a task that compiles most modules # For faster CI feedback, immediately schedule a task that compiles most modules
<< : *CREDITS_TEMPLATE << : *CREDITS_TEMPLATE
<< : *GLOBAL_TASK_TEMPLATE << : *GLOBAL_TASK_TEMPLATE
depends_releases_cache:
folder: "/tmp/cirrus-ci-build/releases"
container: container:
image: ubuntu:bionic image: ubuntu:bionic
env: env: