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

Product registry setup #320

Closed
6 tasks done
elsony opened this issue Jan 21, 2021 · 8 comments
Closed
6 tasks done

Product registry setup #320

elsony opened this issue Jan 21, 2021 · 8 comments
Assignees
Labels
area/registry Devfile registry for stacks and infrastructure

Comments

@elsony
Copy link
Contributor

elsony commented Jan 21, 2021

JBoss EAP XP 2.0 stack is the first product stack that requires a login (Red Hat login) to access the image (see odo-devfiles/registry#67). Given that it requires login, it is not something that we can return as part of the list in a public community registry query.

We can provide separate queries of product vs community stack by:

  1. single registry with filtering
    1. use specific tags for product vs community stacks
    2. a different option will be using a vendor field in stack metadata
    3. add query filtering based on tags/vendor in registry access (both common library and REST API)
  2. separate registry for both
    1. one for product registry and another for community registry
    2. tools can access the registry using different URLs
    3. some stack may be duplicated in the two registries, e.g. the product registry may still want to return the community ones since it supports both
    4. for this option, do we use a single source registry repo (and provide a way to specify) or use separate registry source repo?

Checklist:

@elsony elsony added the area/registry Devfile registry for stacks and infrastructure label Jan 21, 2021
@elsony
Copy link
Contributor Author

elsony commented Jan 21, 2021

Choose option 2 to use separate registries for both. Source registry is using separate repo.
Community: https://github.com/devfile/registry
Product: https://github.com/devfile/registry (need to figure, maybe under openshift org)

@elsony elsony changed the title Product vs community registry options Product registry setup Mar 18, 2021
@elsony
Copy link
Contributor Author

elsony commented Mar 18, 2021

We'll continue to use this item for tracking the setup of the product registry

@johnmcollier johnmcollier self-assigned this Jun 8, 2021
@johnmcollier
Copy link
Member

johnmcollier commented Jun 24, 2021

Before moving forward on this item, there's a couple things that need to be decided on:

  1. Location of source repository for product devfiles
  2. Hostname to deploy / run the registry under.
    • Something under *.redhat.com or *.openshift.com? Or something else?
  3. Is the only product stack we have right now JBoss EAP XP 2.0? Are there others we should include as well?
  4. Issue tracking for the product registry
    • Where should stories / issues specific to the product registry be opened?
    • Not referring to issues/stories about specific stacks.

Some other items that won't block onboarding, but should be decided on sooner rather than later:

  • Any specific branding for the product registry's viewer that we need?
  • Documentation for the product registry?
    • Should include instructions on getting authenticated to pull the product container images
    • Where should the docs reside?

@johnmcollier
Copy link
Member

johnmcollier commented Jun 24, 2021

Discussed on today's call:

  1. Will use the OpenShift org on GitHub for the Git repository Will use redhat-developer/devfile-registry instead.
  2. Hostname TBD, will check with @slemeur, *.redhat.com
  3. Jboss EAP is the only stack right now, but the Che team may contribute some of their stacks/samples
  4. Will use the new repository for issue tracking rather than devfile/api

@johnmcollier
Copy link
Member

Updated the issue description to add a checklist of tasks.

@johnmcollier
Copy link
Member

devfile-registry.redhat.com and devfile-registry.stage.redhat.com are now available.

All that remains now is the post acceptance tests and monitoring.

@johnmcollier
Copy link
Member

I've got merge requests up on gitlab that enable the following:

  • Grafana dashboard for the product registry
  • Post deploy acceptance tests for the product registry

@johnmcollier
Copy link
Member

All that remains now is triggering AlertManager for the service and we can close this out.

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

2 participants