mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
* reduce test make targets, organize test file structure Signed-off-by: anandrkskd <anandrkskd@gmail.com> * remove report collection Signed-off-by: anandrkskd <anandrkskd@gmail.com>
26 lines
504 B
Bash
Executable File
26 lines
504 B
Bash
Executable File
#!/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}"
|
|
oc login -u apikey -p "${API_KEY_QE}" "${IBM_OPENSHIFT_ENDPOINT}"
|
|
|
|
cleanup_namespaces
|
|
|
|
(
|
|
set -e
|
|
make install
|
|
make test-integration
|
|
make test-e2e
|
|
) |& tee "/tmp/${LOGFILE}"
|
|
|
|
RESULT=${PIPESTATUS[0]}
|
|
|
|
save_logs "${LOGFILE}" "OpenShift Tests" ${RESULT}
|
|
|
|
exit ${RESULT}
|