mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
CI: cache ~/.vagrant.d/boxes
For deflaking CI failures during `vagrant up` Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
@@ -81,6 +81,13 @@ jobs:
|
||||
needs: [test]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: "Cache ~/.vagrant.d/boxes, using hash of Vagrantfile.fedora33"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.vagrant.d/boxes
|
||||
key: vagrant-${{ hashFiles('Vagrantfile.fedora33') }}
|
||||
|
||||
- name: prepare vagrant
|
||||
run: |
|
||||
ln -sf Vagrantfile.fedora33 Vagrantfile
|
||||
@@ -116,6 +123,13 @@ jobs:
|
||||
needs: [test]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: "Cache ~/.vagrant.d/boxes, using hash of Vagrantfile.centos7"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.vagrant.d/boxes
|
||||
key: vagrant-${{ hashFiles('Vagrantfile.centos7') }}
|
||||
|
||||
- name: prepare vagrant
|
||||
run: |
|
||||
ln -sf Vagrantfile.centos7 Vagrantfile
|
||||
|
||||
Reference in New Issue
Block a user