test: update verbosity

ADP-216_sops_automation
LeeW 10 months ago
parent cc48c31971
commit 535a1c2590

@ -33,14 +33,14 @@ mv .sops.yaml.tmp .sops.yaml
repo_root="$(git rev-parse --show-toplevel)" repo_root="$(git rev-parse --show-toplevel)"
read -p "start testing?" __var read -p "start testing?" __var
# --- # ---
>&2 echo "# create sops cfg in curdir" >&2 echo "# create sops cfg in curdir: ${PWD}"
rm .sops.yaml rm .sops.yaml
../bin/update_sops.sh -c "${PWD}" -s "${secrets_file}" ../bin/update_sops.sh -c "${PWD}" -s "${secrets_file}"
test -e "${PWD}/.sops.yaml" test -e "${PWD}/.sops.yaml"
test ! -e "${repo_root}/.sops.yaml" test ! -e "${repo_root}/.sops.yaml"
read -p "next test?" __var read -p "next test?" __var
# --- # ---
>&2 echo "# create sops cfg in default (repo root)" >&2 echo "# create sops cfg in default dir: ${repo_root}"
rm .sops.yaml rm .sops.yaml
# note: fail if for any reason sops config defined at top level; this repo should not have this! # note: fail if for any reason sops config defined at top level; this repo should not have this!
test -e "${repo_root}/.sops.yaml" test -e "${repo_root}/.sops.yaml"

Loading…
Cancel
Save