From f7991ecb5337e66587384672d6155331f5116cb9 Mon Sep 17 00:00:00 2001 From: Joe Bowbeer Date: Tue, 16 Mar 2021 04:20:16 -0700 Subject: [PATCH] upgrade yq to v4.6.1 Signed-off-by: Joe Bowbeer --- .github/actions/tools/entrypoint.sh | 4 ++-- scripts/validate.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/tools/entrypoint.sh b/.github/actions/tools/entrypoint.sh index 855a3cd9..f453d776 100644 --- a/.github/actions/tools/entrypoint.sh +++ b/.github/actions/tools/entrypoint.sh @@ -2,8 +2,8 @@ set -eu -YQ_VERSION="3.4.1" -KUSTOMIZE_VERSION="3.8.6" +YQ_VERSION="v4.6.1" +KUSTOMIZE_VERSION="3.9.2" KUBEVAL_VERSION="0.15.0" mkdir -p $GITHUB_WORKSPACE/bin diff --git a/scripts/validate.sh b/scripts/validate.sh index 4548c1a6..f47ae2b2 100755 --- a/scripts/validate.sh +++ b/scripts/validate.sh @@ -19,7 +19,7 @@ set -o errexit find . -type f -name '*.yaml' -print0 | while IFS= read -r -d $'\0' file; do echo "INFO - Validating $file" - yq validate -d'*' "$file" + yq e 'true' "$file" > /dev/null done k="kustomization.yaml"