UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Verified Commit 80b55574 authored by Douglas Lagemann's avatar Douglas Lagemann
Browse files

fixes

parent 61553fe3
No related branches found
No related tags found
1 merge request!7BULL-3230: find unauthorized job
......@@ -3,9 +3,9 @@
mkdir -p ${REPORTS_DIR}
rm -f ${REPORTS_DIR}/*
${UTILITY_DIR}/monitorstatus.sh -j ${CI_JOB_NAME} -s fail -r config -l "Job run in local dev"
python $SCRIPTS_DIR/cmdscan.py $SCAN_DIR/$DOCKERFILE_LOC $SCRIPTS_DIR/unauthorized.json | tee ${REPORTS_DIR}/find-unauthorized.out
${UTILITY_DIR}/utility/monitorstatus.sh -j ${CI_JOB_NAME} -s fail -r config -l "Job run in local dev"
set -o pipefail
hadolint $APPROVED_REGISTRY $SCAN_DIR/$DOCKERFILE_LOC --failure-threshold warning | tee ${REPORTS_DIR}/${CI_JOB_NAME}.out
if [ "$?" == "0" ]; then
${UTILITY_DIR}/monitorstatus.sh -j ${CI_JOB_NAME} -s pass -r pass
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment