Fix viable app tests and disable currently broken ones

This commit is contained in:
Johannes Zellner
2021-09-22 11:37:27 +02:00
parent 5883857e8c
commit efa364414f
2 changed files with 50 additions and 52 deletions

View File

@@ -39,19 +39,19 @@ for script in "${scripts[@]}"; do
fi
done
image_missing=""
# image_missing=""
images=$(node -e "var i = require('${SOURCE_DIR}/src/infra_version.js'); console.log(Object.keys(i.images).map(function (x) { return i.images[x].tag; }).join('\n'));"; echo $TEST_IMAGE)
for image in ${images}; do
if ! docker inspect "${image}" >/dev/null 2>/dev/null; then
echo "docker pull ${image}"
echo "docker pull ${image%@sha256:*}"
image_missing="true"
# echo "docker pull ${image}"
docker pull ${image%@sha256:*}
# image_missing="true"
fi
done
if [[ "${image_missing}" == "true" ]]; then
echo "Pull above images before running tests"
exit 1
fi
# if [[ "${image_missing}" == "true" ]]; then
# echo "Pull above images before running tests"
# exit 1
# fi