|
|
|
|
@ -41,7 +41,6 @@ if [[ 1 -eq 1 ]]; then
|
|
|
|
|
test ! -e "${PWD}/.sops.yaml"
|
|
|
|
|
test -e "${repo_root}/.sops.yaml"
|
|
|
|
|
set +x
|
|
|
|
|
echo "TEST RC: $?"
|
|
|
|
|
# teardown
|
|
|
|
|
# enmesh: restore, since this particular one is checked in
|
|
|
|
|
git checkout "${PWD}/.sops.yaml" > /dev/null 2>&1
|
|
|
|
|
@ -62,7 +61,6 @@ if [[ 1 -eq 1 ]]; then
|
|
|
|
|
test -e "${PWD}/.sops.yaml"
|
|
|
|
|
test ! -e "${repo_root}/.sops.yaml"
|
|
|
|
|
set +x
|
|
|
|
|
echo "TEST RC: $?"
|
|
|
|
|
# teardown
|
|
|
|
|
# not necessary, all tracked in git
|
|
|
|
|
# enmesh: restore, since this particular one is checked in
|
|
|
|
|
@ -77,7 +75,6 @@ if [[ 1 -eq 1 ]]; then
|
|
|
|
|
set -x
|
|
|
|
|
../bin/update_sops.sh -k "${keys_dir}" -c "${sops_cfg_dir}" -s "${secrets_file}" "${secrets_file}" > /dev/null 2>&1
|
|
|
|
|
set +x
|
|
|
|
|
echo "TEST RC: $?"
|
|
|
|
|
# teardown
|
|
|
|
|
# not necessary, all tracked in git
|
|
|
|
|
# enmesh: restore, since this particular one is checked in
|
|
|
|
|
|