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

[Downstream CI] new tests for versioned ecosystem tasks

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • QA
    • 2
    • False
    • None
    • False

      Story (Required)

      As QE I want to verify that versioned ecosystem tasks and step actions are present on cluster

      Background (Required)

      Similarly to cluster tasks, operator creates versioned copies of shipped tasks and step actions

      It is enough to verify that they are present (ideally on fresh clusters and after operator upgrade), no need to test their functionality*strong text*.

      $ oc get task -n openshift-pipelines
      NAME                      AGE
      buildah                   25d
      buildah-1-16-0            25d
      git-cli                   25d
      git-cli-1-16-0            25d
      git-clone                 25d
      git-clone-1-16-0          25d
      kn                        25d
      kn-1-16-0                 25d
      kn-apply                  25d
      kn-apply-1-16-0           25d
      maven                     25d
      maven-1-16-0              25d
      openshift-client          25d
      openshift-client-1-16-0   25d
      s2i-dotnet                25d
      s2i-dotnet-1-16-0         25d
      s2i-go                    25d
      s2i-go-1-16-0             25d
      s2i-java                  25d
      s2i-java-1-16-0           25d
      s2i-nodejs                25d
      s2i-nodejs-1-16-0         25d
      s2i-perl                  25d
      s2i-perl-1-16-0           25d
      s2i-php                   25d
      s2i-php-1-16-0            25d
      s2i-python                25d
      s2i-python-1-16-0         25d
      s2i-ruby                  25d
      s2i-ruby-1-16-0           25d
      skopeo-copy               25d
      skopeo-copy-1-16-0        25d
      tkn                       25d
      tkn-1-16-0                25d
      
      $ oc get stepaction -n openshift-pipelines
      NAME               AGE
      git-clone          25d
      git-clone-1-16-0   25d
      

      Approach (Required)

      Extend this spec file https://github.com/openshift-pipelines/release-tests/blob/master/specs/operator/addon.spec

      It is enough to verify that versioned tasks are present (ideally on both fresh cluster and after upgrade), no need to test their functionality.

      apiVersion: operator.tekton.dev/v1alpha1
      kind: TektonConfig
      metadata:
        name: config
      spec:
        addon:
          params:
          - name: clusterTasks
            value: "true"
          - name: pipelineTemplates
            value: "true"
          - name: communityClusterTasks
            value: "true"
          - name: resolverTasks
            value: "true"
          - name: resolverStepActions
            value: "true"
      

              Unassigned Unassigned
              ppitonak Pavol Pitoňák
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: