mirror of
https://github.com/techno-tim/k3s-ansible.git
synced 2025-12-28 19:52:40 +01:00
Compare commits
15 Commits
v1.29.2+k3
...
c1d2701d19
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c1d2701d19 | ||
|
|
604eb7a6e6 | ||
|
|
ddf01c3a74 | ||
|
|
a204ed5169 | ||
|
|
c697ff36aa | ||
|
|
b6608ca3e4 | ||
|
|
3ee9a71a4f | ||
|
|
8252a45dfd | ||
|
|
7794d70f2b | ||
|
|
c99f098c2e | ||
|
|
60815cf435 | ||
|
|
7867b87d85 | ||
|
|
4511ea8558 | ||
|
|
dfe19f3731 | ||
|
|
5b1030e7fb |
17
.github/download-boxes.sh
vendored
17
.github/download-boxes.sh
vendored
@@ -9,12 +9,17 @@ set -euo pipefail
|
||||
GIT_ROOT=$(git rev-parse --show-toplevel)
|
||||
PROVIDER=virtualbox
|
||||
|
||||
# Read all boxes for all platforms from the "molecule.yml" files
|
||||
all_boxes=$(cat "${GIT_ROOT}"/molecule/*/molecule.yml |
|
||||
yq -r '.platforms[].box' | # Read the "box" property of each node under "platforms"
|
||||
grep --invert-match --regexp=--- | # Filter out file separators
|
||||
sort |
|
||||
uniq)
|
||||
yq --version
|
||||
|
||||
# Define the path to the molecule.yml files
|
||||
MOLECULE_YML_PATH="${GIT_ROOT}/molecule/*/molecule.yml"
|
||||
|
||||
# Extract and sort unique boxes from all molecule.yml files
|
||||
all_boxes=$(for file in $MOLECULE_YML_PATH; do
|
||||
yq eval '.platforms[].box' "$file"
|
||||
done | sort -u)
|
||||
|
||||
echo all_boxes: "$all_boxes"
|
||||
|
||||
# Read the boxes that are currently present on the system (for the current provider)
|
||||
present_boxes=$(
|
||||
|
||||
@@ -96,7 +96,7 @@ platformdirs==4.1.0
|
||||
# via virtualenv
|
||||
pluggy==1.3.0
|
||||
# via molecule
|
||||
pre-commit==3.6.2
|
||||
pre-commit==3.7.0
|
||||
# via -r requirements.in
|
||||
pre-commit-hooks==4.5.0
|
||||
# via -r requirements.in
|
||||
|
||||
Reference in New Issue
Block a user