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

tag script must inject generated digests into crw-operator/controller-manifests folder for RELEASED versions

XMLWordPrintable

      When rebuilding 2.1.1 operator metadata, I realized thanks to Radim that the only csv being updated with digests instead of tags was the LATEST one, 2.1.1.

      This means that in the 2.1.1 operator metadata, the 2.1.0 CSV contains tags instead of digests.

      I've manually updated the 2.1.0 csv by copying code from the 2.1.0.GA tag of

      http://pkgs.devel.redhat.com/cgit/containers/codeready-workspaces-operator-metadata/tree/controller-manifests/v2.1.0/codeready-workspaces.2.1.0.clusterserviceversion.yaml?h=2.1.0.GA

      to

      https://github.com/redhat-developer/codeready-workspaces-operator/commit/f5608222e5d09d296c48be12ee23129b3bf33c73?w=1

      which then syncs to pkgs.devel here:

      http://pkgs.devel.redhat.com/cgit/containers/codeready-workspaces-operator-metadata/commit/?h=crw-2.0-rhel-8&id=53fa86a714884f6ea4f4d062a719ec63a1c9d73a

      resulting in operator-metadata 2.1-47:

      https://quay.io/repository/crw/operator-metadata?tag=2.1-47&tab=tags

      But what's missing is that the 2.1.0.GA tag of crw-operator GH repo should ALSO include the digests, so we need to update this script to inject the generated digests into the GH repo before tagging:

      https://github.com/redhat-developer/codeready-workspaces/blob/master/product/tagRelease.sh

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

                Created:
                Updated:
                Resolved: