mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
* Revert using a DEVFILE_PROXY env var There is no proxy deployed in the internal test cluster. As such, this env var no longer makes sense. * To help troubleshoot, display the resolved Devfile registry URL * Make interactive tests more resilient with stack versions They are now able to determine if the "Select version" prompt should be asked by "odo init" or not: * Make sure doc automation tests do not rely on hard-coded namespaces * Allow to run doc automation tests with more parallel Ginkgo nodes This is possible now that those tests no longer depend on a single hard-coded namespace. * Remove occurrences of the DEVFILE_REGISTRY env var in IBM Pipelines scripts * Reuse logic for determining the Devfile Registry URL in "odo registry" tests * Clarify what openshiftci-config.sh is used for
31 lines
721 B
Bash
Executable File
31 lines
721 B
Bash
Executable File
#!/bin/bash
|
|
|
|
LOGFILE="pr-${GIT_PR_NUMBER}-openshift-tests-${BUILD_NUMBER}"
|
|
TEST_NAME="OpenShift Tests"
|
|
|
|
source .ibm/pipelines/functions.sh
|
|
|
|
skip_if_only
|
|
|
|
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-cluster
|
|
make test-e2e
|
|
) |& tee "/tmp/${LOGFILE}"
|
|
|
|
RESULT=${PIPESTATUS[0]}
|
|
|
|
save_logs "${LOGFILE}" "${TEST_NAME}" ${RESULT}
|
|
save_results "${PWD}/test-integration.xml" "${LOGFILE}" "${TEST_NAME}" "${BUILD_NUMBER}"
|
|
save_results "${PWD}/test-e2e.xml" "${LOGFILE}" "${TEST_NAME}" "${BUILD_NUMBER}"
|
|
|
|
exit ${RESULT}
|