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

Siloing candidate images #17

Open
innovaker opened this issue May 7, 2021 · 2 comments
Open

Siloing candidate images #17

innovaker opened this issue May 7, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@innovaker
Copy link
Contributor

innovaker commented May 7, 2021

Following on from #12, I think we should consider creating a dedicated namespace for candidate images to supersede zmkfirmwaredependabot.

Naming suggestions:

  • zmkfirmware-candidates
  • zmkfirmware-staging
  • zmkfirmware-testing

The idea being that every candidate image (those tagged only with their associated GitHub SHA) - including dependabot - are pushed to this namespace, and only released images are pushed to the zmkfirmware namespace.

Potential benefits:

  • less junk in the zmkfirmware namespace
  • easier discovery and navigation of released images
  • reduces chance of users downloading experimental or untested candidates
  • easier maintainence (cleaning out redundant images)
  • possibly more secure?

Depending on the approach, it might require two sets of credentials to be provided as secrets - one for each namespace.

Care must also be taken around the caching so as to not inadvertantly break the inherent nuances of the design.

@innovaker innovaker added the enhancement New feature or request label May 7, 2021
@innovaker
Copy link
Contributor Author

jobs.<job_id>.environment may also prove useful depending on the approach.

@innovaker
Copy link
Contributor Author

An alternative to dedicated namespaces is to add suffixes to the repository names.
i.e.

  • zmk-build-arm
  • zmk-build-arm-xxxxxxxxxx
  • zmk-dev-arm
  • zmk-dev-arm-xxxxxxxxxx

etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant