From 4844713e707237857f6397c68c965b33a5f7b39c Mon Sep 17 00:00:00 2001 From: LeeW Date: Mon, 17 Feb 2025 10:53:13 +0100 Subject: [PATCH] TMP: adds in-line test within the verify command, iter --- verify/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/verify/test.sh b/verify/test.sh index bf3e708..35cfc75 100755 --- a/verify/test.sh +++ b/verify/test.sh @@ -33,14 +33,14 @@ mv .sops.yaml.tmp .sops.yaml repo_root="$(git rev-parse --show-toplevel)" read -p "start testing?" __var # --- -# create sops cfg in curdir +>&2 echo "# create sops cfg in curdir" rm .sops.yaml ../bin/update_sops.sh -c "${PWD}" -s "${secrets_file}" test -e "${PWD}/.sops.yaml" test ! -e "${repo_root}/.sops.yaml" read -p "next test?" __var # --- -# create sops cfg in default (repo root) +>&2 echo "# create sops cfg in default (repo root)" rm .sops.yaml # note: fail if for any reason sops config defined at top level; this repo should not have this! test -e "${repo_root}/.sops.yaml"