minor changes to use service IDs and clusters in the Developer QE account (#5440)

* minor changes to use clusters in the Developer QE account

* removed unnecessary command
This commit is contained in:
Rodolfo Napoles
2022-02-08 08:50:18 -05:00
committed by GitHub
parent 4b601a8911
commit 3c9870c508
2 changed files with 4 additions and 2 deletions

View File

@@ -4,7 +4,8 @@ LOGFILE="pr-${GIT_PR_NUMBER}-kubernetes-tests-${BUILD_NUMBER}"
source .ibm/pipelines/functions.sh source .ibm/pipelines/functions.sh
ibmcloud login --apikey "${API_KEY}" -r "${IBM_REGION}" ibmcloud login --apikey "${API_KEY}"
ibmcloud target -r "${IBM_REGION}"
ibmcloud ks cluster config --cluster "${IBM_KUBERNETES_ID}" --admin ibmcloud ks cluster config --cluster "${IBM_KUBERNETES_ID}" --admin
cleanup_namespaces cleanup_namespaces

View File

@@ -19,7 +19,8 @@ cleanup_namespaces
) |& tee "/tmp/${LOGFILE}" ) |& tee "/tmp/${LOGFILE}"
RESULT=${PIPESTATUS[0]} RESULT=${PIPESTATUS[0]}
ibmcloud login --apikey "${API_KEY}" -r "${IBM_REGION}" ibmcloud login --apikey "${API_KEY}"
ibmcloud target -r "${IBM_REGION}"
save_logs "${LOGFILE}" "OpenShift Tests" ${RESULT} save_logs "${LOGFILE}" "OpenShift Tests" ${RESULT}
exit ${RESULT} exit ${RESULT}