Change default registry build style to offline (include all referenced resources in the container at build time) #18242
Labels
area/ci
CI build and releases, PR testing, & whitelabel/productization issues
area/devfile-registry
area/languages
Issues related to Language extensions or plugins integration.
area/plugin-registry
kind/enhancement
A feature request - must adhere to the feature request template.
Is your enhancement related to a problem? Please describe.
Today, starting the Che plugin or devfile registry is fairly quick, since the default build style is "online", in that references to .vsix and icons and project resources are all resolved later.
But this also means that starting a workspace can be slow, as all those plugins have to be downloaded from github, jboss.org, or the open-vsx marketplace.
Starting the workspace also involves checking out code from GH, which can sometimes be slow.
Describe the solution you'd like
Switch registry builds (both devfile and plugin registry) to 'offline' mode by default. This will do two things:
devfile registry will, during the build, fetch project sources from the specified repos and branches and include them as zips in the container, guaranteeing that the sources won't "move" after a release (you'll be testing the same project sources as are live in the source project repo). This also enables OOTB airgap support for the sample projects.
plugin registry will, during the build, fetch plugins and include them in the container so there's no external dependency on any 3rd party hosting sites, which could unexpectedly be offline. This also enables OOTB airgap support for all the plugins in the registry.
The text was updated successfully, but these errors were encountered: