Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-4538

[release testing] Create test checking manual approval version

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • None
    • QA
    • None
    • Pipelines Sprint Release 6

      Story (Required)

      As a QE trying to test Pipelines operator I want to check the version of manual approval component by automated test.

      Background (Required)

      We have a test checking versions of all components shipped with Pipelines operator. Add a test for manual approval which is a new component shipped with 1.15.

      https://github.com/openshift-pipelines/release-tests/blob/master/specs/versions.spec#L4-L18
      https://github.com/openshift-pipelines/manual-approval-gate/
      https://github.com/tektoncd/operator/blob/main/docs/ManualApprovalGate.md

      Approach (Required)

      1. add a new variable called MANUAL_APPROVAL_VERSION to env/default/default.properties with value v0.2
      2. update specs/versions.spec
      3. update AssertComponentVersion in pkg/tkn/tkn.go... use command oc get manualapprovalgate manual-approval-gate -o jsonpath={.status.version}
      4. verify that the test passes with either 5.0.5 or 1.15 build locally
      5. verify that the test passes in acceptance tests pipeline

              vigneshsri Sri Vignesh Selvan
              ppitonak Pavol Pitoňák
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: