forked from tim/k3s-ansible
feat(ci): optimize Molecule VM creation
- reuse validated runner-owned Vagrant linked-clone masters\n- create the default guests in bounded two-machine batches\n- capture create timing and runner utilization diagnostics
This commit is contained in:
committed by
Techno Tim
parent
57f234c8da
commit
10bde4eff0
@@ -45,7 +45,7 @@ jobs:
|
||||
lookup-only: true
|
||||
path: |
|
||||
.vagrant-home/boxes
|
||||
key: vagrant-boxes-${{ runner.os }}-${{ runner.arch }}-virtualbox-7.2-vagrant-2.4-${{ hashFiles('.github/vagrant-boxes.lock') }} # yamllint disable-line rule:line-length
|
||||
key: vagrant-boxes-${{ runner.name }}-${{ runner.os }}-${{ runner.arch }}-virtualbox-7.2-vagrant-2.4-${{ hashFiles('.github/vagrant-boxes.lock') }} # yamllint disable-line rule:line-length
|
||||
|
||||
- name: Download Vagrant boxes for all scenarios
|
||||
# An exact hit skips both cache restoration and upstream downloads.
|
||||
@@ -53,4 +53,5 @@ jobs:
|
||||
if: steps.cache-vagrant.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
./.github/download-boxes.sh
|
||||
./.github/scripts/prepare-vagrant-box-masters.sh
|
||||
vagrant box list
|
||||
|
||||
Reference in New Issue
Block a user