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

[Test execution] - Operator upgrade and KuTTL Tests | OCP 4.17

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Testing
    • None

      Upgrade the operator from previous version and run Kuttl tests as part of *v1.14.3* validation.

      Test Steps:

      If you are upgrading to a previously released version of gitops, just use some older channels to install the operator. Once they have reached the highest version in that particular channel, switch the channel. If you are testing the IIBs, follow the below instructions for the upgrade

      1. Clone [https://gitlab.cee.redhat.com/gitops/gitops-components-automated-testing]  ]
      2. Checkout to the *master_ branch
      3. Install and upgrade the operator by running $* *make operator-upgrade* after setting *QUAY_USER, NEW_VER* and _IIB_ID

      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:

      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:

      * Upgrade tests have been performed
      * Both Sequential and Parallel suites are executed 
      * Results have been logged

            [GITOPS-6441] [Test execution] - Operator upgrade and KuTTL Tests | OCP 4.17

            There are no comments yet on this issue.

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

                Created:
                Updated:
                Resolved: