fix: iterate fix for sops.yaml not created in specified config dir - fixed!

ADP-216_sops_automation
LeeW 10 months ago
parent 892fbc2039
commit 8f2270fe56

@ -53,9 +53,8 @@ else
fi
# ---
if [[ 0 -eq 1 ]]; then
if [[ 1 -eq 1 ]]; then
>&2 echo -e "# ---\n# TEST: create sops cfg in curdir: ${PWD}"
echo "ERROR: failing right now"
set -x
# note: fail if for any reason sops config defined at top level; this repo should not have this!
test ! -e "${repo_root}/.sops.yaml"
@ -67,6 +66,8 @@ if [[ 0 -eq 1 ]]; then
echo "TEST RC: $?"
# teardown
# not necessary, all tracked in git
# enmesh: restore, since this particular one is checked in
git checkout "${PWD}/.sops.yaml"
else
>&2 echo "# INFO: skipping ...."
fi

Loading…
Cancel
Save