mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
27 lines
694 B
Bash
Executable File
27 lines
694 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
|
|
export SKIP_USER_LOGIN_TESTS=true
|
|
(
|
|
set -e
|
|
export DEVFILE_PROXY="$(kubectl get svc -n devfile-proxy nginx -o jsonpath='{.status.loadBalancer.ingress[0].hostname}' || true)"
|
|
echo Using Devfile proxy: ${DEVFILE_PROXY}
|
|
make install
|
|
make test-integration-cluster
|
|
make test-e2e
|
|
) |& tee "/tmp/${LOGFILE}"
|
|
|
|
RESULT=${PIPESTATUS[0]}
|
|
|
|
save_logs "${LOGFILE}" "Kubernetes Tests" ${RESULT}
|
|
|
|
exit ${RESULT}
|