Add vagrant boxes caching to CI

We're hitting 429 responses when running lots of jobs, presumably
because we are downloading lots of boxes again and again.
This should cache them instead.
pull/11485/head
Max Gautier 2024-08-29 15:36:59 +02:00
parent 924a979955
commit 2803946a88
No known key found for this signature in database
2 changed files with 8 additions and 0 deletions

View File

@ -29,6 +29,10 @@
when: always
paths:
- molecule_logs/
cache:
key: vagrant_boxes
paths:
- ~/vagrant.d/boxes/
# CI template for periodic CI jobs
# Enabled when PERIODIC_CI_ENABLED var is set

View File

@ -27,6 +27,10 @@
- ./tests/scripts/vagrant_clean.sh
script:
- ./tests/scripts/testcases_run.sh
cache:
key: vagrant_boxes
paths:
- ~/vagrant.d/boxes/
vagrant_ubuntu20-calico-dual-stack:
stage: deploy-extended