regclient blackbox tests and regclient installation in Makefile

Signed-off-by: Lisca Ana-Roberta <ana.kagome@yahoo.com>
This commit is contained in:
Lisca Ana-Roberta
2022-07-22 14:34:12 +03:00
committed by Andrei Aaron
parent be93ece95e
commit a49692a22b
3 changed files with 98 additions and 7 deletions
+10
View File
@@ -36,6 +36,16 @@ function verify_prerequisites {
echo "you need to install oras as a prerequisite to running the tests" >&3
return 1
fi
if [ ! command -v helm ] &>/dev/null; then
echo "you need to install helm as a prerequisite to running the tests" >&3
return 1
fi
if [ ! command -v regctl ] &>/dev/null; then
echo "you need to install regclient as a prerequisite to running the tests" >&3
return 1
fi
return 0
}