Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi 2021-03-18 18:05:01 -07:00
parent fbdfe27103
commit d351b0086a

View File

@ -132,7 +132,8 @@ test::secret(){
local inputFile="$1" local inputFile="$1"
shift shift
if sops exec-file "$inputFile" echo > /dev/null 2>&1; then # if sops exec-file "$inputFile" echo > /dev/null 2>&1; then
if sops exec-file "$inputFile" echo; then
test::one "$@" --input-yaml "$inputFile" test::one "$@" --input-yaml "$inputFile"
else else
logger::warning "Skip \"$1\": secrets not available" logger::warning "Skip \"$1\": secrets not available"