-
Task
-
Resolution: Done
-
Blocker
-
3.3.0.GA
-
None
-
False
-
None
-
False
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).
- Once copied to Quay, we can trigger a similar process as in https://main-jenkins-csb-crwqe.apps.ocp-c1.prod.psi.redhat.com/job/DS_CI/job/push-latest-container-to-quay_3.x/ where we create a new filtered IIB that includes the latest CI builds of DWO and DS (rather than the released DWO and unreleased DS content).
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