Modifies and adds scripts to run K8S tests on IBM Cloud cluster (#5022)

* Scripts for PSI minishift tests

* added line at end of script

* added line at end of script

* emoved info as requested

* Updates as per review feedback

* deleting unwanted script as it was replaced with other files

* Scripts for PSI minishift tests

* Applied workaround to use env variable to select minikube or minishift

* Set CLUSTER env variable to appply workaround for firewall not taking parameters

* added curl for missing script and added misiing /, removed unnecessary cd

* Separating minishift from merged minikube-minishift scripts due to firewall not taking parameters for script execution

* Changes to run tests in IBM Cloud, changed TEST_EXEX_NODES=24

* remove non required changes (old stuff) and remove non required scripts (old stuff)

* Modified and added scripts to run tests in IBM Cloud cluster

* Additional changes for to run K8S test in IBM Cloud

* Removed unnecessary line

* changes to run tests on K8S cluster in IBM Cloud

* ncorportaed changes based on feedback for IBM Cloud tests

* Chnages based in feedback for IBM Cloud

* updated string for home dir

* removing test-integration-devfile as it ends with failures

* Fixed if statement

* changes to Makefile for number of nodes

* added requested comment to Makefile about nodes if running in IBM Cloud
This commit is contained in:
Rodolfo Napoles
2021-09-08 08:39:21 -04:00
committed by GitHub
parent b34a68e7e2
commit b9765a4bee
4 changed files with 133 additions and 10 deletions

View File

@@ -15,10 +15,15 @@ TIMEOUT ?= 14400s
# Env variable TEST_EXEC_NODES is used to pass spec execution type
# (parallel or sequential) for ginkgo tests. To run the specs sequentially use
# TEST_EXEC_NODES=1, otherwise by default the specs are run in parallel on 4 ginkgo test node.
# TEST_EXEC_NODES=1, otherwise by default the specs are run in parallel on 4 ginkgo test node if running on PSI cluster or 24 nodes if running on IBM Cloud cluster.
# NOTE: Any TEST_EXEC_NODES value greater than one runs the spec in parallel
# on the same number of ginkgo test nodes.
TEST_EXEC_NODES ?= 4
ifdef TEST_EXEC_NODES
TEST_EXEC_NODES := $(TEST_EXEC_NODES)
else
TEST_EXEC_NODES := 4
endif
# Slow spec threshold for ginkgo tests. After this time (in second), ginkgo marks test as slow
SLOW_SPEC_THRESHOLD := 120