fix acceptance tests & add notification upon failures (#204)

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
Alex Goodman
2020-10-08 11:07:00 -04:00
committed by GitHub
parent 1be5f5756a
commit da0eb6f20f
4 changed files with 40 additions and 4 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ docker run --rm \
ubuntu:latest \
/bin/bash -x -c "\
DEBIAN_FRONTEND=noninteractive apt install ${DISTDIR}/syft_*_linux_amd64.deb -y && \
syft version -v && \
syft version && \
syft ${TEST_IMAGE} -vv -o json > ${REPORT} \
"
+1 -1
View File
@@ -38,7 +38,7 @@ ls -alh ${TEST_IMAGE_TAR}
# run syft
chmod 755 ${DISTDIR}/syft_darwin_amd64/syft
${DISTDIR}/syft_darwin_amd64/syft version -v
${DISTDIR}/syft_darwin_amd64/syft version
SYFT_CHECK_FOR_APP_UPDATE=0 ${DISTDIR}/syft_darwin_amd64/syft docker-archive://${TEST_IMAGE_TAR} -vv -o json > ${REPORT}
# keep the generated report around
+1 -1
View File
@@ -40,7 +40,7 @@ docker run --rm \
centos:latest \
/bin/bash -x -c "\
rpm -ivh ${DISTDIR}/syft_*_linux_amd64.rpm && \
syft version -v && \
syft version && \
syft ${TEST_IMAGE} -vv -o json > ${REPORT} \
"