-
Notifications
You must be signed in to change notification settings - Fork 493
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
thar-be-updates: migrate to use configuration file #3721
thar-be-updates: migrate to use configuration file #3721
Conversation
5c395c6
to
e40fc70
Compare
fix build issue where i left unused imports |
e40fc70
to
25d598c
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's merge this first #3768 then rebase your PR to align on 1.19.2
25d598c
to
65fc62c
Compare
|
65fc62c
to
b1b4c67
Compare
b1b4c67
to
8701f08
Compare
updated on latest |
9e6ace8
to
0b9d0a4
Compare
Fix the if condition around the boolean value causing it to not be rendered when false |
0b9d0a4
to
a58b3f4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, testing looks good.
a58b3f4
to
ea1db46
Compare
Updated per ben's comments, will begin testing now |
This change migrates the thar-be-updates tool to utilize a configuration file at /etc/thar-be-updates.toml instead of calling back to the settings api. log: * migration and template * migrate thar-be-updates tool to read settings from a config file
ea1db46
to
01c5e34
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM assuming testing checks out.
Issue number: #3625
Closes #3625
Description of changes:
This change migrates the thar-be-updates tool to utilize a configuration file at /etc/thar-be-updates.toml instead of calling back to the settings api.
log:
Testing done:
Tested update from 1.18.0 -> 1.18.1 and ensured settings get populated appropriately
cargo +nightly udeps
to ensure all unused dependencies have been removedTest Results
User Data
Generated Config
Test Info
Command Run
apiclient set settings.updates.version-lock="1.19.3"
Resulting Config File
Test Info
/etc/os-release upon downgrade
Migrations
Test Info
/etc/os-release upon upgrade
Config File
Migrations
Terms of contribution:
By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.