mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
* POC for odo interactive testing
Signed-off-by: anandrkskd <anandrkskd@gmail.com>
* add interactive tests to make target test-integration
Signed-off-by: anandrkskd <anandrkskd@gmail.com>
* [WIP] use func to pass test instructions
Signed-off-by: anandrkskd <anandrkskd@gmail.com>
* cleanup comments/test
Signed-off-by: anandrkskd <anandrkskd@gmail.com>
* cleanup minor changes
Signed-off-by: anandrkskd <anandrkskd@gmail.com>
* fix unit test failure
Signed-off-by: anandrkskd <anandrkskd@gmail.com>
* skip for windows
Signed-off-by: anandrkskd <anandrkskd@gmail.com>
* skip for windows by not compiling, cleanup
Signed-off-by: anandrkskd <anandrkskd@gmail.com>
* cleanup, and add the make target to test files
Signed-off-by: anandrkskd <anandrkskd@gmail.com>
* incorporate review, adding comments, cleanup
Signed-off-by: anandrkskd <anandrkskd@gmail.com>
* fix failing make validate
Signed-off-by: anandrkskd <anandrkskd@gmail.com>
* update test dependency, and possible fix for windows
Signed-off-by: anandrkskd <anandrkskd@gmail.com>
* Revert "update test dependency, and possible fix for windows"
This reverts commit 55580b7dc5.
* Final cleanup
Signed-off-by: anandrkskd <anandrkskd@gmail.com>
26 lines
548 B
Bash
26 lines
548 B
Bash
#!/bin/bash
|
|
|
|
LOGFILE="pr-${GIT_PR_NUMBER}-kubernetes-tests-${BUILD_NUMBER}"
|
|
|
|
source .ibm/pipelines/functions.sh
|
|
|
|
ibmcloud login --apikey "${API_KEY}"
|
|
ibmcloud target -r "${IBM_REGION}"
|
|
ibmcloud ks cluster config --cluster "${IBM_KUBERNETES_ID}" --admin
|
|
|
|
cleanup_namespaces
|
|
|
|
(
|
|
set -e
|
|
make install
|
|
make test-integration-devfile
|
|
make test-integration-interactive
|
|
make test-e2e-devfile
|
|
make test-cmd-project
|
|
) |& tee "/tmp/${LOGFILE}"
|
|
RESULT=${PIPESTATUS[0]}
|
|
|
|
save_logs "${LOGFILE}" "Kubernetes Tests" ${RESULT}
|
|
|
|
exit ${RESULT}
|