Skip to content

Plugins used in devfiles lead to duplicate images #17737

@amisevsk

Description

@amisevsk

Is your enhancement related to a problem? Please describe.

A couple of devfiles in the devfile registry include plugins that result in pulling both the java8 and java11 sidecar:

- name: apache-camel-springboot-
  plugins:
    - redhat/vscode-xml/latest          (uses) quay.io/eclipse/che-sidecar-java:11-f76ca45
    - redhat/vscode-apache-camel/latest (uses) quay.io/eclipse/che-sidecar-java:11-f76ca45
    - redhat/java/latest                (uses) quay.io/eclipse/che-sidecar-java:8-0cfbacb
- name: che4z-
  plugins:
    - broadcommfd/cobol-language-support/latest (uses) quay.io/eclipse/che-sidecar-java:11-f76ca45
    - broadcommfd/debugger-for-mainframe/latest (uses) quay.io/eclipse/che-sidecar-java:8-0cfbacb
    - zowe/vscode-extension-for-zowe/latest     (uses) quay.io/eclipse/che-sidecar-node:10-0cb5d78

This results in the workspace pulling both sidecars and slows down workspace startup.

Describe the solution you'd like

For apache-camel-springboot, we should verify that the sample project works with redhat/java11/latest and if so, switch to that plugin by default. For che4z, we should figure out if broadcommfd/debugger-for-mainframe/latest runs normally in the java11 sidecar.

Describe alternatives you've considered

It's not a huge issue, so doing nothing is definitely an option

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/devfile-registryarea/plugin-registrykind/enhancementA feature request - must adhere to the feature request template.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.severity/P2Has a minor but important impact to the usage or development of the system.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions