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:
Timothy Stewart
2026-08-01 01:15:25 -05:00
committed by Techno Tim
parent 57f234c8da
commit 10bde4eff0
14 changed files with 563 additions and 3 deletions
+2 -1
View File
@@ -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