Test with OpenShift cluster non authenticated (#6395)

* Test with OpenShift cluster non authenticated

* Add analyze commands

* Add same tests as with NoCluster

* Do not try to cleanup namespaces

* Assert non authenticated

* Change Makefile target name
This commit is contained in:
Philippe Martin
2022-12-09 12:41:38 +01:00
committed by GitHub
parent 6c99ca1024
commit 83cdda6960
18 changed files with 1687 additions and 1540 deletions

View File

@@ -0,0 +1,21 @@
#!/bin/bash
LOGFILE="pr-${GIT_PR_NUMBER}-openshift-tests-${BUILD_NUMBER}"
source .ibm/pipelines/functions.sh
ibmcloud login --apikey "${API_KEY_QE}"
ibmcloud target -r eu-de
ibmcloud oc cluster config -c "${CLUSTER_ID}"
(
set -e
make install
make test-integration-openshift-unauth
) |& tee "/tmp/${LOGFILE}"
RESULT=${PIPESTATUS[0]}
save_logs "${LOGFILE}" "OpenShift Unauthenticated Tests" ${RESULT}
exit ${RESULT}