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

ADP-216_sops_automation
LeeW 10 months ago
parent 46b61c8347
commit 747c10e9e0

@ -44,11 +44,9 @@ test -e "${repo_root}/.sops.yaml"
# enmesh: restore, since this particular one is checked in # enmesh: restore, since this particular one is checked in
git checkout "${PWD}/.sops.yaml" git checkout "${PWD}/.sops.yaml"
rm "${repo_root}/.sops.yaml" rm "${repo_root}/.sops.yaml"
echo "WARNING: skipping remaining tests, failing right now"
exit
read -p "next test?" __var
# --- # ---
>&2 echo "# create sops cfg in curdir: ${PWD}" >&2 echo "# create sops cfg in curdir: ${PWD}"
echo "ERROR: failing right now"
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"

Loading…
Cancel
Save