Enable olm and Run operatorhub tests on kubernetes cluster (#4754)

* Running operatorhub tests on kubernetes cluster

* Fixing script path

* Align spec field in service binding subscription yaml

* Adding debugging steps for Finding ImagePullBackOff Reason

* Adding mongodb operator and modifying test accordingly to resolve https://github.com/openshift/odo/issues/4651#issuecomment-851269315

* Fixing command typo for kubernetes

* Fixing regex issue

* Fixing mongodb subscription yaml format

* Injecting docker account secrets into kubernetes cluster for etcd services

* remove setup-kube-operators file

* Separate setup for kubernetes operator

* Adding operators common for both ocp and minikube

* sync function for ocp and minikube

* Adding some tests refactor

* refactoring operator hub tests for redis operator

* Finding reason for the pending state of redis pod and fix regex format

* Fixing regex format

* Using redis instance CR definition from example file

* Modifying test to use RedisCluster operator

* Fixing redis-secret failure for specific namespace in the test

* removing not used function for copying example

* Refactoring operator test

* redis pod name are changing so frequently so updating it once again

* Refactored operator link test

* Skipping postgresql test for kubernetes

* Fixing invalid devfile with link

* Fixing file not found error

* Address review comments

* Run all tests on ocp and kubernetes

* Shifting to Redis CRD instead of RedisCluster and review comments

* Fixing failure related to no name

* Address cosmetic changes as per review

* olm installation on minikube
This commit is contained in:
Priti Kumari
2021-07-06 19:35:27 +05:30
committed by GitHub
parent 08272a2bb6
commit 9dba98a9e2
12 changed files with 357 additions and 169 deletions

View File

@@ -15,6 +15,7 @@ case ${1} in
minikube)
# Integration tests
shout "| Running integration Tests on MiniKube"
make test-operator-hub
make test-cmd-project
make test-integration-devfile