mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
* Send tests results to Sheet * Save tests from Windows tests + do not fail if junit file not found * Change package name * Remove cleanup old entries (keeping implementation) * Add job number
25 lines
583 B
Bash
Executable File
25 lines
583 B
Bash
Executable File
#!/bin/bash
|
|
|
|
LOGFILE="pr-${GIT_PR_NUMBER}-kubernetes-docs-tests-${BUILD_NUMBER}"
|
|
TEST_NAME="Kubernetes Docs Tests"
|
|
|
|
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-doc-automation
|
|
) |& tee "/tmp/${LOGFILE}"
|
|
|
|
RESULT=${PIPESTATUS[0]}
|
|
|
|
save_logs "${LOGFILE}" "${TEST_NAME}" ${RESULT}
|
|
save_results "${PWD}/test-doc-automation.xml" "${LOGFILE}" "${TEST_NAME}" "${BUILD_NUMBER}"
|
|
|
|
exit ${RESULT}
|