Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download and package devfile samples and starter projects in the registry #482

Closed
4 tasks
johnmcollier opened this issue Jun 4, 2021 · 1 comment
Closed
4 tasks
Labels
area/registry Devfile registry for stacks and infrastructure

Comments

@johnmcollier
Copy link
Member

The v1 devfile registry for Eclipse Che / CRW cached the starter projects associated with each devfile, to reduce overall latency when cloning projects (and to support airgap scenarios). The projects would be converted to a zip archive and packaged on the devfile registry container. The OCI-based devfile registry should do the same, and we should ensure that both starter projects, as well as the projects associated with devfile samples are stored on the devfile registry.

Additionally, as part of the work on the registry viewer, in order to display the sample contents in the UI (e.g. the devfile, logo) the devfile registry needs to provide an API to retrieve the devfile.yaml and logo from devfile samples.

  • Download and archive starter projects for each devfile stack during registry build
    • Ensure that references in the devfile to the starter project are updated to reference the local project archive
  • Download and archive devfile samples during registry build
  • Provide an API for retrieving the devfile.yaml and sample logos from devfile samples
@johnmcollier johnmcollier added the area/registry Devfile registry for stacks and infrastructure label Jun 4, 2021
@johnmcollier
Copy link
Member Author

Closing in favour of #516, which has more relevant information

The sample side of this issue had already been covered by devfile/registry-support#61

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/registry Devfile registry for stacks and infrastructure
Projects
None yet
Development

No branches or pull requests

1 participant