From fc823122d8c8145e90abec2399376eb747b556bf Mon Sep 17 00:00:00 2001 From: Timothy Stewart Date: Mon, 31 Oct 2022 21:29:24 -0500 Subject: [PATCH] fix(script): convert to linux --- .github/download-boxes.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/download-boxes.sh b/.github/download-boxes.sh index d62261dc..afaa5d38 100755 --- a/.github/download-boxes.sh +++ b/.github/download-boxes.sh @@ -5,10 +5,15 @@ # already present on the system. set -euo pipefail - +YQ_VERSION=v4.29.2 +YQ_BINARY=yq_linux_amd64 GIT_ROOT=$(git rev-parse --show-toplevel) PROVIDER=virtualbox +# gey yq used for filtering +wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq &&\ + chmod +x /usr/bin/yq + # 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"