gitlab-ci: cache APKs and git repos between runs

This commit is contained in:
Hans-Christoph Steiner 2018-11-15 18:05:30 +01:00
parent 449287fe25
commit f2c4bff0a3

View file

@ -45,6 +45,7 @@ pages:
only: only:
- schedules - schedules
cache: cache:
key: "$CI_JOB_NAME"
paths: paths:
- vendor/ruby - vendor/ruby
artifacts: artifacts:
@ -69,6 +70,11 @@ fdroid-buildserver:
- unsigned - unsigned
expire_in: 1 week expire_in: 1 week
when: always when: always
cache:
key: "$CI_JOB_NAME"
paths:
- build
- unsigned
script: script:
- virsh -c qemu:///system destroy builder_default || true - virsh -c qemu:///system destroy builder_default || true
- virsh -c qemu:///system undefine builder_default - virsh -c qemu:///system undefine builder_default