fix(script): fixed yq

This commit is contained in:
Timothy Stewart 2024-03-25 13:02:16 -05:00
parent 7867b87d85
commit c99f098c2e

View File

@ -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)