mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
* fix windows script to use correct API KEY Signed-off-by: anandrkskd <anandrkskd@gmail.com> * remove github login Signed-off-by: anandrkskd <anandrkskd@gmail.com> * k8s updated qe key Signed-off-by: anandrkskd <anandrkskd@gmail.com> * use serviceid API key Signed-off-by: anandrkskd <anandrkskd@gmail.com> * update save_log func Signed-off-by: anandrkskd <anandrkskd@gmail.com> * make script executable Signed-off-by: anandrkskd <anandrkskd@gmail.com>
26 lines
529 B
Bash
Executable File
26 lines
529 B
Bash
Executable File
#!/bin/bash
|
|
|
|
LOGFILE="pr-${GIT_PR_NUMBER}-openshift-tests-${BUILD_NUMBER}"
|
|
|
|
source .ibm/pipelines/functions.sh
|
|
|
|
oc login -u apikey -p "${API_KEY_QE}" "${IBM_OPENSHIFT_ENDPOINT}"
|
|
|
|
cleanup_namespaces
|
|
|
|
(
|
|
set -e
|
|
make install
|
|
make test-integration
|
|
make test-integration-interactive
|
|
make test-integration-devfile
|
|
make test-cmd-login-logout
|
|
make test-cmd-project
|
|
make test-e2e-devfile
|
|
) |& tee "/tmp/${LOGFILE}"
|
|
RESULT=${PIPESTATUS[0]}
|
|
|
|
save_logs "${LOGFILE}" "OpenShift Tests" ${RESULT}
|
|
|
|
exit ${RESULT}
|