Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-1736

CRW testing pipeline should respect 'codeready-workspaces-operator-metadata' tag order when fetch iib image tag

    XMLWordPrintable

Details

    • QE Task
    • Resolution: Done
    • Blocker
    • 2.8.0.GA
    • 2.8.0.GA
    • testing
    • None
    • False
    • False
    • Undefined

    Description

      Actually, we have a mess in the list of iib images [1], which is not ordered by added_bundle_images property:

      curl -sSLk "https://datagrepper.engineering.redhat.com/raw?topic=/topic/VirtualTopic.eng.ci.redhat-container-image.index.built&delta=1728000&rows_per_page=30&contains=codeready-workspaces" | jq ".raw_messages[].msg.index"
      {
        "added_bundle_images": [
          "registry-proxy.engineering.redhat.com/rh-osbs/codeready-workspaces-operator-metadata:2.8-18"
        ],
        "index_image": "registry-proxy.engineering.redhat.com/rh-osbs/iib:66972",
        "ocp_version": "v4.8"
      }
      {
        "added_bundle_images": [
          "registry-proxy.engineering.redhat.com/rh-osbs/codeready-workspaces-operator-metadata:2.8-20"
        ],
        "index_image": "registry-proxy.engineering.redhat.com/rh-osbs/iib:66971",
        "ocp_version": "v4.8"
      }
      {
        "added_bundle_images": [
          "registry-proxy.engineering.redhat.com/rh-osbs/codeready-workspaces-operator-metadata:2.8-15"
        ],
        "index_image": "registry-proxy.engineering.redhat.com/rh-osbs/iib:66970",
        "ocp_version": "v4.8"
      }
      {
        "added_bundle_images": [
          "registry-proxy.engineering.redhat.com/rh-osbs/codeready-workspaces-operator-metadata:2.8-26"
        ],
        "index_image": "registry-proxy.engineering.redhat.com/rh-osbs/iib:66969",
        "ocp_version": "v4.8"
      }
      {
        "added_bundle_images": [
          "registry-proxy.engineering.redhat.com/rh-osbs/codeready-workspaces-operator-metadata:2.8-21"
        ],
        "index_image": "registry-proxy.engineering.redhat.com/rh-osbs/iib:66968",
        "ocp_version": "v4.8"
      }
      {
        "added_bundle_images": [
          "registry-proxy.engineering.redhat.com/rh-osbs/codeready-workspaces-operator-metadata:2.8-13"
        ],
        "index_image": "registry-proxy.engineering.redhat.com/rh-osbs/iib:66967",
        "ocp_version": "v4.8"
      }
      {
        "added_bundle_images": [
          "registry-proxy.engineering.redhat.com/rh-osbs/codeready-workspaces-operator-metadata:2.8-14"
        ],
        "index_image": "registry-proxy.engineering.redhat.com/rh-osbs/iib:66966",
        "ocp_version": "v4.8"
      }
      {
        "added_bundle_images": [
          "registry-proxy.engineering.redhat.com/rh-osbs/codeready-workspaces-operator-metadata:2.8-18"
        ],
        "index_image": "registry-proxy.engineering.redhat.com/rh-osbs/iib:66965",
        "ocp_version": "v4.7"
      }
      {
        "added_bundle_images": [
          "registry-proxy.engineering.redhat.com/rh-osbs/codeready-workspaces-operator-metadata:2.8-20"
        ],
        "index_image": "registry-proxy.engineering.redhat.com/rh-osbs/iib:66962",
        "ocp_version": "v4.7"
      }
      {
        "added_bundle_images": [
          "registry-proxy.engineering.redhat.com/rh-osbs/codeready-workspaces-operator-metadata:2.8-15"
        ],
        "index_image": "registry-proxy.engineering.redhat.com/rh-osbs/iib:66964",
        "ocp_version": "v4.7"
      }
      {
        "added_bundle_images": [
          "registry-proxy.engineering.redhat.com/rh-osbs/codeready-workspaces-operator-metadata:2.8-26"
        ],
        "index_image": "registry-proxy.engineering.redhat.com/rh-osbs/iib:66961",
        "ocp_version": "v4.7"
      }
      {
        "added_bundle_images": [
          "registry-proxy.engineering.redhat.com/rh-osbs/codeready-workspaces-operator-metadata:2.8-21"
        ],
        "index_image": "registry-proxy.engineering.redhat.com/rh-osbs/iib:66959",
        "ocp_version": "v4.7"
      }
      {
        "added_bundle_images": [
          "registry-proxy.engineering.redhat.com/rh-osbs/codeready-workspaces-operator-metadata:2.8-13"
        ],
        "index_image": "registry-proxy.engineering.redhat.com/rh-osbs/iib:66958",
        "ocp_version": "v4.7"
      }
      {
        "added_bundle_images": [
          "registry-proxy.engineering.redhat.com/rh-osbs/codeready-workspaces-operator-metadata:2.8-14"
        ],
        "index_image": "registry-proxy.engineering.redhat.com/rh-osbs/iib:66956",
        "ocp_version": "v4.7"
      }
      {
        "added_bundle_images": [
          "registry-proxy.engineering.redhat.com/rh-osbs/codeready-workspaces-operator-metadata:2.8-18"
        ],
        "index_image": "registry-proxy.engineering.redhat.com/rh-osbs/iib:66953",
        "ocp_version": "v4.6"
      }
      {
        "added_bundle_images": [
          "registry-proxy.engineering.redhat.com/rh-osbs/codeready-workspaces-operator-metadata:2.8-15"
        ],
        "index_image": "registry-proxy.engineering.redhat.com/rh-osbs/iib:66950",
        "ocp_version": "v4.6"
      }
      {
        "added_bundle_images": [
          "registry-proxy.engineering.redhat.com/rh-osbs/codeready-workspaces-operator-metadata:2.8-20"
        ],
        "index_image": "registry-proxy.engineering.redhat.com/rh-osbs/iib:66949",
        "ocp_version": "v4.6"
      }
      {
        "added_bundle_images": [
          "registry-proxy.engineering.redhat.com/rh-osbs/codeready-workspaces-operator-metadata:2.8-26"
        ],
        "index_image": "registry-proxy.engineering.redhat.com/rh-osbs/iib:66948",
        "ocp_version": "v4.6"
      }
      {
        "added_bundle_images": [
          "registry-proxy.engineering.redhat.com/rh-osbs/codeready-workspaces-operator-metadata:2.8-21"
        ],
        "index_image": "registry-proxy.engineering.redhat.com/rh-osbs/iib:66947",
        "ocp_version": "v4.6"
      }
      {
        "added_bundle_images": [
          "registry-proxy.engineering.redhat.com/rh-osbs/codeready-workspaces-operator-metadata:2.8-13"
        ],
        "index_image": "registry-proxy.engineering.redhat.com/rh-osbs/iib:66946",
        "ocp_version": "v4.6"
      }
      {
        "added_bundle_images": [
          "registry-proxy.engineering.redhat.com/rh-osbs/codeready-workspaces-operator-metadata:2.8-14"
        ],
        "index_image": "registry-proxy.engineering.redhat.com/rh-osbs/iib:66942",
        "ocp_version": "v4.6"
      }
      

      So, we need to fix logic in pipeline [2] to locate iib tag with latest metadata tag.

      [1] curl -sSLk "https://datagrepper.engineering.redhat.com/raw?topic=/topic/VirtualTopic.eng.ci.redhat-container-image.index.built&delta=1728000&rows_per_page=30&contains=codeready-workspaces" | jq ".raw_messages[].msg.index"

      [2] https://gitlab.cee.redhat.com/codeready-workspaces/crw-jenkins/-/blob/master/vars/openshiftUtil.groovy#L219

      Attachments

        Activity

          People

            dnochevn Dmytro Nochevnov
            dnochevn Dmytro Nochevnov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: