diff --git a/.envrc b/.envrc index a63eb9626..84fc8e536 100644 --- a/.envrc +++ b/.envrc @@ -1 +1,7 @@ -use asdf +# Automatically sets up your devbox environment whenever you cd into this +# directory via our direnv integration: + +eval "$(devbox generate direnv --print-envrc)" + +# check out https://www.jetpack.io/devbox/docs/ide_configuration/direnv/ +# for more details diff --git a/hack/list-images.sh b/hack/list-images.sh index 145e5be3b..a65c5351d 100755 --- a/hack/list-images.sh +++ b/hack/list-images.sh @@ -108,6 +108,7 @@ for dir in $(find . -type f -name "*.yaml" -print0 | xargs --null --max-lines=1 extra_args+=('--extra-images-file' 'extra-images.txt') fi + >&2 echo -e " + ${dir}${hr}\n" envsubst -no-unset -no-digit -i "$(basename "${hr}")" | \ gojq --yaml-input --raw-output --arg repoRoot "${REPO_ROOT}" \ $'select(.spec.chart.spec.sourceRef.name != null) | @@ -116,7 +117,8 @@ for dir in $(find . -type f -name "*.yaml" -print0 | xargs --null --max-lines=1 elif .spec.chart.spec.sourceRef.kind == "GitRepository" then $repoRoot+"/"+.spec.chart.spec.chart end' | \ - xargs --max-lines=1 --no-run-if-empty -- helm list-images --unique "${extra_args[@]}" >>"${IMAGES_FILE}" + xargs --max-lines=1 --no-run-if-empty -- helm list-images --unique "${extra_args[@]}" | >&2 tee -a "${IMAGES_FILE}" + >&2 echo popd &>/dev/null done < <(grep --recursive --max-count=1 --files-with-matches '^kind: HelmRelease') popd &>/dev/null