-
Task
-
Resolution: Done
-
Undefined
-
None
-
None
Run Kuttl tests as part of the 1.15.0 release.
Test Steps:
*Note:* There is a Z stream test pipeline available now: [https://console-openshift-console.apps.ocp-c1.prod.psi.redhat.com/k8s/ns/devtools-gitops/tekton.dev~v1beta1~Pipeline/z-stream-test-pipeline]
- Clone [https://gitlab.cee.redhat.com/gitops/gitops-components-automated-testing] ]
- Checkout to the *master_ branch
- Run $* *make prepare-operator* after setting *QUAY_USER* and _IIB_ID
- Once the catalog source is available, install the operator from operator hub
For running the kuttl automation pipeline, use [this|https://gitlab.cee.redhat.com/gitops/plumbing-gitops/-/blob/main/ci/pipelineruns/kuttl-tests.yaml?ref_type=heads] pipelinerun pipelinerun] template on the [bootstrap cluster|https://console-openshift-console.apps.ocp-c1.prod.psi.redhat.com/] with with] appropriate parameters
If you want to run the kuttl tests locally:
- Clone [https://gitlab.cee.redhat.com/gitops/operator-e2e/-/tree/master/gitops-operator ]
- From *master* branch and directory to *gitops-operator* run
- $ kubectl kuttl test ./tests/sequential --config ./tests/sequential/kuttl-test.yaml
- $ kubectl kuttl test ./tests/parallel --config ./tests/parallel/kuttl-test.yaml
For running a particular test, pass the test name along with *--test* flag
More info: [https://gitlab.cee.redhat.com/gitops/operator-e2e/-/blob/master/gitops-operator/README.md] ]
Acceptance Criteria:
* Both Sequential and Parallel suites are executed
* Results have been logged