File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -15,17 +15,13 @@ if [ -z "${SUBMIT_RESULTS:-}" ]; then
1515 SUBMIT_RESULTS=false
1616fi
1717
18- if [ " ${SUBMIT_RESULTS} " = " true" ]; then
19- if [ -z " ${OPENSHIFT_API_KEY:- } " ]; then
20- echo " Error: SUBMIT_RESULTS is set to 'true' but OPENSHIFT_API_KEY is not set"
21- exit 1
22- fi
23- if [ -z " ${OPENSHIFT_IMAGE_COMPONENT_ID:- } " ]; then
24- OPENSHIFT_IMAGE_COMPONENT_ID=" 67bdf00eb9f79dcdb25aa8e2"
25- fi
26- EXTRA_ARGS=" --pyxis-api-token=${OPENSHIFT_API_KEY} --certification-component-id=${OPENSHIFT_IMAGE_COMPONENT_ID} "
27- else
28- EXTRA_ARGS=" "
18+ if [ -z " ${OPENSHIFT_API_KEY:- } " ]; then
19+ echo " Error: SUBMIT_RESULTS is set to 'true' but OPENSHIFT_API_KEY is not set"
20+ exit 1
21+ fi
22+
23+ if [ -z " ${OPENSHIFT_IMAGE_COMPONENT_ID:- } " ]; then
24+ OPENSHIFT_IMAGE_COMPONENT_ID=" 67bdf00eb9f79dcdb25aa8e2"
2925fi
3026
3127if [ " ${USE_LATEST_OPERATOR_RELEASE} " = " true" ]; then
5551echo " Running preflight on ${COHERENCE_OPERATOR_IMAGE} "
5652
5753PREFLIGHT_LOG=" ${OUTPUT_DIR} /preflight.log"
58- preflight check container --submit=" ${SUBMIT_RESULTS} " --logfile=" ${PREFLIGHT_LOG} " ${EXTRA_ARGS} ${COHERENCE_OPERATOR_IMAGE}
54+ preflight check container --submit=" ${SUBMIT_RESULTS} " \
55+ --pyxis-api-token=" ${OPENSHIFT_API_KEY} " --certification-component-id=" ${OPENSHIFT_IMAGE_COMPONENT_ID} " \
56+ --logfile=" ${PREFLIGHT_LOG} " " ${COHERENCE_OPERATOR_IMAGE} "
You can’t perform that action at this time.
0 commit comments