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

publish latest DWO images to quay, then include them in quay.io/devspaces/iib images

    XMLWordPrintable

Details

    • False
    • None
    • False

    Description

      To prevent a situation where the latest DWO is:

      • registry.stage.redhat.io/devworkspace/devworkspace-operator-bundle@sha256:ffd00fff23ee87d09dea8cea5b1c649b62a85db30cca645ada2bf0a53c39e375

      and therefore we get this error installing the latest IIB for 3.3 (if we're outside RH and can't login to reg.stage or brew.reg):

              - message: bundle contents have not yet been persisted to installplan status
                reason: BundleNotUnpacked
                status: 'True'
                type: BundleLookupNotPersisted
              - lastTransitionTime: '2022-09-12T19:03:37Z'
                message: >-
                  unpack job not completed: Unpack
                  pod(openshift-operators/e21d33957517f3807c143fea33e8674d04b5601605ac8ce2058363f238s4qvr)
                  container(pull) is pending. Reason: ImagePullBackOff, Message:
                  Back-off pulling image
                  "registry.stage.redhat.io/devworkspace/devworkspace-operator-bundle@sha256:ffd00fff23ee87d09dea8cea5b1c649b62a85db30cca645ada2bf0a53c39e375"
                reason: JobIncomplete
                status: 'True'
                type: BundleLookupPending
            identifier: devworkspace-operator.v0.15.2-0.1661828401.p
            path: >-
              registry.stage.redhat.io/devworkspace/devworkspace-operator-bundle@sha256:ffd00fff23ee87d09dea8cea5b1c649b62a85db30cca645ada2bf0a53c39e375
            properties: >-
              {"properties":[{"type":"olm.gvk","value":{"group":"controller.devfile.io","kind":"DevWorkspaceOperatorConfig","version":"v1alpha1"}},{"type":"olm.gvk","value":{"group":"controller.devfile.io","kind":"DevWorkspaceRouting","version":"v1alpha1"}},{"type":"olm.gvk","value":{"group":"workspace.devfile.io","kind":"DevWorkspace","version":"v1alpha1"}},{"type":"olm.gvk","value":{"group":"workspace.devfile.io","kind":"DevWorkspace","version":"v1alpha2"}},{"type":"olm.gvk","value":{"group":"workspace.devfile.io","kind":"DevWorkspaceTemplate","version":"v1alpha1"}},{"type":"olm.gvk","value":{"group":"workspace.devfile.io","kind":"DevWorkspaceTemplate","version":"v1alpha2"}},{"type":"olm.package","value":{"packageName":"devworkspace-operator","version":"0.15.2+0.1661828401.p"}}]}
            replaces: devworkspace-operator.v0.14.1
          - catalogSourceRef:
              name: iib-testingdevspaces
              namespace: openshift-operators
            conditions:
              - message: bundle contents have not yet been persisted to installplan status
                reason: BundleNotUnpacked
                status: 'True'
                type: BundleLookupNotPersisted
              - lastTransitionTime: '2022-09-12T19:03:37Z'
                message: unpack job not completed
                reason: JobIncomplete
                status: 'True'
                type: BundleLookupPending
              - lastTransitionTime: '2022-09-12T19:14:26Z'
                message: Job was active longer than specified deadline
                reason: DeadlineExceeded
                status: 'True'
                type: BundleLookupFailed
      

      ... we need to filter out unreleased (reg-proxy and stage) images or else ...

      • start copying DWO images to Quay (as we do for DS).

      See https://github.com/redhat-developer/devspaces/blob/devspaces-3-rhel-8/product/filterIIBForDevSpaces.sh#L101-L103 – will need to have more than one sourceIndexImage (one for DWO, one for DS, etc.). Can then use differnt render.json to build the DWO content in https://github.com/redhat-developer/devspaces/blob/devspaces-3-rhel-8/product/filterIIBForDevSpaces.sh#L135-L141

      Attachments

        1. image-2022-10-14-20-54-02-413.png
          image-2022-10-14-20-54-02-413.png
          31 kB
        2. image-2022-10-19-17-48-38-051.png
          image-2022-10-19-17-48-38-051.png
          61 kB
        3. image-2022-10-19-18-16-28-960.png
          image-2022-10-19-18-16-28-960.png
          59 kB
        4. image-2022-10-19-18-18-43-045.png
          image-2022-10-19-18-18-43-045.png
          182 kB
        5. image-2022-10-19-18-41-32-940.png
          image-2022-10-19-18-41-32-940.png
          64 kB
        6. image-2022-10-19-18-42-42-835.png
          image-2022-10-19-18-42-42-835.png
          57 kB
        7. screenshot-1.png
          screenshot-1.png
          90 kB
        8. screenshot-2.png
          screenshot-2.png
          57 kB
        9. screenshot-3.png
          screenshot-3.png
          58 kB
        10. screenshot-4.png
          screenshot-4.png
          33 kB
        11. screenshot-5.png
          screenshot-5.png
          90 kB

        Activity

          People

            nickboldt Nick Boldt
            nickboldt Nick Boldt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: