Skip to content

Commit

Permalink
Merge pull request #9881 from justinsb/avoid_warning_from_find
Browse files Browse the repository at this point in the history
verify-terraform: rearrange arguments to find
  • Loading branch information
k8s-ci-robot authored Sep 8, 2020
2 parents bb63f29 + 5f9d3b3 commit c3020cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/verify-terraform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ while IFS= read -r -d '' -u 3 test_dir; do
kube::util::array_contains "${cluster}" "${CLUSTERS_0_11[@]}" && tag=$TAG_0_11 || tag=$TAG_0_13

docker run --rm -e "TF_PLUGIN_CACHE_DIR=${PROVIDER_CACHE}" -v "${PROVIDER_CACHE}:${PROVIDER_CACHE}" -v "${test_dir}":"${test_dir}" -w "${test_dir}" --entrypoint=sh hashicorp/terraform:$tag -c '/bin/terraform init >/dev/null && /bin/terraform validate' || RC=$?
done 3< <(find "${KOPS_ROOT}/tests/integration/update_cluster" -type d -maxdepth 1 -print0)
done 3< <(find "${KOPS_ROOT}/tests/integration/update_cluster" -maxdepth 1 -type d -print0)

if [ $RC != 0 ]; then
echo -e "\nTerraform validation failed\n"
Expand Down

0 comments on commit c3020cf

Please sign in to comment.