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

identity: check whether current stream is meant to auto-update #60

Closed
1 task
lucab opened this issue Jul 5, 2019 · 2 comments
Closed
1 task

identity: check whether current stream is meant to auto-update #60

lucab opened this issue Jul 5, 2019 · 2 comments

Comments

@lucab
Copy link
Contributor

lucab commented Jul 5, 2019

At the moment Zincati tries to always auto-update the OS, regardless of its stream.

This is fine on production streams. There are however few cases where this doesn't make much sense, for example mechanical and development streams.

It would be good to expose a configurable list of streams for which auto-updates are enabled. Default configuration would allow production streams only.

Raw plan:

  • Add a stream_whitelist configuration entry (HashSet<String>)
  • Add logic for override-merging stream entries from multiple configuration fragments
  • Add a default TOML configuration fragment with [ "stable", "next", "testing" ]
  • Fast-forward update-agent state-machine to EndState if the current stream is not in the whitelist

Blockers:

@jlebon
Copy link
Member

jlebon commented Jul 5, 2019

See coreos/fedora-coreos-tracker#163 (comment) for a different approach. To directly address this specific issue's title:

Zincati would be configured appropriately for each individual stream, so it wouldn't have to care about specific stream names.

@lucab
Copy link
Contributor Author

lucab commented Jul 8, 2019

Closing in favor of #62.

@lucab lucab closed this as completed Jul 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants