Uploaded image for project: 'OpenShift GitOps'
  1. OpenShift GitOps
  2. GITOPS-5798

[Test execution] - Operator installation and KUTTL Tests | OCP 4.12

XMLWordPrintable

      Run Kuttl tests as part of 1.12.1 release.

      Test Steps:

      1. Clone https://gitlab.cee.redhat.com/gitops/gitops-components-automated-testing 
      2. Checkout to the master branch
      3. Run $ make prepare-operator after setting QUAY_USER and IIB_ID
      4. Once the catalog source is available, install the operator from operator hub

      For running the kuttl automation pipeline, use this pipelinerun template on the bootstrap cluster with appropriate parameters 

      If you want to run the kuttl tests locally:

      1. Clone https://gitlab.cee.redhat.com/gitops/operator-e2e/-/tree/master/gitops-operator 
      2. From master branch and directory to gitops-operator run
        1. kubectl kuttl test ./tests/sequential --config ./tests/sequential/kuttl-test.yaml
        2. 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 latest and version specific channels have been covered 
      • Both Sequential and Parallel suites are executed 
      • Results have been logged

              asaleh@redhat.com Adam Saleh
              asaleh@redhat.com Adam Saleh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: