mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
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:
21
.ibm/pipelines/openshift-unauth-tests.sh
Executable file
21
.ibm/pipelines/openshift-unauth-tests.sh
Executable 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}
|
||||
Reference in New Issue
Block a user