Skip to content
Snippets Groups Projects
Commit 75c5c928 authored by godog's avatar godog
Browse files

gitlab-ci: stop caching ~/.vagrant.d

The main reason to cache vagrant.d is to avoid downloading boxes. This
is implemented on the gitlab-runner itself by bind-mounting only the
boxes directory (.vagrant.d/boxes) from the host instead.
parent 31ba7ed9
No related branches found
No related tags found
No related merge requests found
...@@ -10,28 +10,18 @@ variables: ...@@ -10,28 +10,18 @@ variables:
run_base_test: run_base_test:
stage: test stage: test
script: script:
- mkdir -p .vagrant.d && ln -s $PWD/.vagrant.d $HOME/.vagrant.d
- "cd test && timeout 1h with-ssh-key ./run-test.sh --docker ${APT_PROXY_ADDR:+--apt-proxy $APT_PROXY_ADDR} base" - "cd test && timeout 1h with-ssh-key ./run-test.sh --docker ${APT_PROXY_ADDR:+--apt-proxy $APT_PROXY_ADDR} base"
tags: [ai3] tags: [ai3]
except: except:
- schedules - schedules
cache:
key: buster
paths:
- .vagrant.d
run_full_test: run_full_test:
stage: test stage: test
script: script:
- mkdir -p .vagrant.d && ln -s $PWD/.vagrant.d $HOME/.vagrant.d
- "cd test && timeout 1h with-ssh-key ./run-test.sh --save-logs ${CI_PROJECT_DIR}/test-logs --docker --wait-time 300 ${APT_PROXY_ADDR:+--apt-proxy $APT_PROXY_ADDR} full" - "cd test && timeout 1h with-ssh-key ./run-test.sh --save-logs ${CI_PROJECT_DIR}/test-logs --docker --wait-time 300 ${APT_PROXY_ADDR:+--apt-proxy $APT_PROXY_ADDR} full"
tags: [ai3] tags: [ai3]
only: only:
- schedules - schedules
cache:
key: buster
paths:
- .vagrant.d
artifacts: artifacts:
when: on_failure when: on_failure
expire_in: 1 week expire_in: 1 week
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment