Files
odo/.ibm/pipelines/kubernetes-tests.sh
Rodolfo Napoles 83f26da94d Reorganized test file directory structure (#5537)
* Rebased was required

* Replicated changes to  openshiftci related scripts to avoid test failure
2022-03-16 01:42:11 -04:00

26 lines
539 B
Bash
Executable File

#!/bin/bash
LOGFILE="pr-${GIT_PR_NUMBER}-kubernetes-tests-${BUILD_NUMBER}"
source .ibm/pipelines/functions.sh
ibmcloud login --apikey "${API_KEY_QE}"
ibmcloud target -r "${IBM_REGION}"
ibmcloud ks cluster config --cluster "${IBM_KUBERNETES_ID}" --admin
cleanup_namespaces
(
set -e
make install
make test-integration-devfile
make test-interactive
make test-e2e-devfile
make test-cmd-project
) |& tee "/tmp/${LOGFILE}"
RESULT=${PIPESTATUS[0]}
save_logs "${LOGFILE}" "Kubernetes Tests" ${RESULT}
exit ${RESULT}