-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test with OpenShift cluster non authenticated
- Loading branch information
Showing
5 changed files
with
59 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/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}" | ||
|
||
cleanup_namespaces | ||
|
||
( | ||
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-unauth | ||
) |& tee "/tmp/${LOGFILE}" | ||
|
||
RESULT=${PIPESTATUS[0]} | ||
|
||
save_logs "${LOGFILE}" "OpenShift Unauthenticated Tests" ${RESULT} | ||
|
||
exit ${RESULT} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters