fix(script): fixed yq
This commit is contained in:
parent
7867b87d85
commit
c99f098c2e
2
.github/download-boxes.sh
vendored
2
.github/download-boxes.sh
vendored
@ -11,7 +11,7 @@ PROVIDER=virtualbox
|
|||||||
|
|
||||||
# Read all boxes for all platforms from the "molecule.yml" files
|
# Read all boxes for all platforms from the "molecule.yml" files
|
||||||
all_boxes=$(cat "${GIT_ROOT}"/molecule/*/molecule.yml |
|
all_boxes=$(cat "${GIT_ROOT}"/molecule/*/molecule.yml |
|
||||||
yq r '.platforms[].box' | # Read the "box" property of each node under "platforms"
|
yq eval '.platforms[].box' | # Read the "box" property of each node under "platforms"
|
||||||
grep --invert-match --regexp=--- | # Filter out file separators
|
grep --invert-match --regexp=--- | # Filter out file separators
|
||||||
sort |
|
sort |
|
||||||
uniq)
|
uniq)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user