Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-1648 Support upstream plugin update automation in CRW
  3. CRW-1824

migrate CRW 2.8 plugin reg build/scripts/list_referenced_images.sh so that it works w/ new CRW 2.9 format

XMLWordPrintable

    • False
    • False
    • Undefined

      In 2.8, we used build/scripts/list_referenced_images.sh to compute a list of referenced images in the plugin registry, so we could insert those image refs into the operator-metadata's CSV.

      CRW 2.8
      $➔ git clone https://github.com/redhat-developer/codeready-workspaces crw; cd crw/dependencies/che-plugin-registry
      
      $➔ ./build/scripts/list_referenced_images.sh v3/ 
      registry.redhat.io/codeready-workspaces/machineexec-rhel8:2.8
      registry.redhat.io/codeready-workspaces/plugin-java11-rhel8:2.8
      registry.redhat.io/codeready-workspaces/plugin-java8-rhel8:2.8
      registry.redhat.io/codeready-workspaces/plugin-kubernetes-rhel8:2.8
      registry.redhat.io/codeready-workspaces/plugin-openshift-rhel8:2.8
      registry.redhat.io/codeready-workspaces/stacks-cpp-rhel8:2.8
      registry.redhat.io/codeready-workspaces/stacks-dotnet-rhel8:2.8
      registry.redhat.io/codeready-workspaces/stacks-golang-rhel8:2.8
      registry.redhat.io/codeready-workspaces/stacks-php-rhel8:2.8
      registry.redhat.io/codeready-workspaces/theia-endpoint-rhel8:2.8
      registry.redhat.io/codeready-workspaces/theia-rhel8:2.8
      

      In 2.9, this script returns nothing (as it can't find generated content - no meta.yamls = no script results ).

      If we look in the generated content in crw-images:

      $➔ git clone https://github.com/redhat-developer/codeready-workspaces-images crw-images; cd crw-images/codeready-workspaces-pluginregistry
      
      (... run a local build...)
      
      $➔ ./build/scripts/list_referenced_images.sh output/v3
      quay.io/crw/che-theia:nightly
      quay.io/crw/machineexec-rhel8:nightly
      quay.io/crw/machineexec-rhel8@sha256:c0abe2c5662c8ebf87fe007ebb057e4b0542dc2b91047e83bb43e7576e160a30
      quay.io/crw/plugin-java11-rhel8:nightly
      quay.io/crw/plugin-java8-rhel8:nightly
      quay.io/crw/plugin-kubernetes-rhel8:nightly
      quay.io/crw/plugin-openshift-rhel8:nightly
      quay.io/crw/stacks-cpp-rhel8:nightly
      quay.io/crw/stacks-dotnet-rhel8:nightly
      quay.io/crw/stacks-golang-rhel8:nightly
      quay.io/crw/stacks-php-rhel8:nightly
      quay.io/crw/theia-endpoint-rhel8:nightly
      quay.io/crw/theia-endpoint-rhel8@sha256:ca8a80a85eac7bf87a833e9ccaf08ef5970f081afdb0382933c795e525641a26
      

      Which is still not ideal, but we could replace the digests and tags with :2.9.

      Is there a better way to get the list of referenced images from the meta.yamls?

            ericwill@redhat.com Eric Williams
            nickboldt Nick Boldt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: