-
Notifications
You must be signed in to change notification settings - Fork 205
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
Add systemd service for automatic system upgrades and reboots #3524
Conversation
6945408
to
ef87f25
Compare
ef87f25
to
1a34923
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.
This is over my knowledge but seems good job
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.
I think it is ok to add yet another sub-package but generally I'm wondering whether we should stop adding everything to one spec file.
Unlike the other service file this service file is also very distribution-specific. It is questionable whether we should install the script and service file via the regular install
target.
Both points are linked. We use a single spec file because we first install everything in one call and then separate the files into packages. I was considering the "distribution specific" aspect as well but I would only worry about that after we learned where we can do that better. It won't do any harm if the files are just present. |
It means that other distributions won't use our install target at all or they need to remove files manually. Both seems annoying considering they'll have to keep their custom solution in sync with our install target.
Just add another install target, e.g. |
@mkittler DONE, please check. |
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.
I've already unresolved one unaddressed review comment.
2c54a79
to
942348e
Compare
Codecov Report
@@ Coverage Diff @@
## master #3524 +/- ##
==========================================
- Coverage 95.61% 95.58% -0.03%
==========================================
Files 366 366
Lines 31789 31789
==========================================
- Hits 30394 30387 -7
- Misses 1395 1402 +7
Continue to review full report at Codecov.
|
824caaf
to
90e90cd
Compare
Needed to add
to openQA.spec so that /etc/os-release is present so that we can detect that we need to call the install-opensuse Makefile target |
This comment has been minimized.
This comment has been minimized.
b2ba52c
to
2dfc26d
Compare
oh come on, finally all tests passed and now |
This is based on what we already use on o3 (openqa.opensuse.org) to automatically apply nightly system patching, package upgrades and planning system reboots where required, e.g. after kernel upgrades. Related progress issue: https://progress.opensuse.org/issues/70978
2dfc26d
to
1c9fcd5
Compare
This is based on what we already use on o3 (openqa.opensuse.org) to
automatically apply nightly system patching, package upgrades and
planning system reboots where required, e.g. after kernel upgrades.
Related progress issue: https://progress.opensuse.org/issues/70978