Project

General

Profile

action #105379

Updated by livdywan about 2 years ago

## Acceptance criteria 
 * **AC1:** o3 workers automatically deploy after every update to the package os-autoinst 
 * **AC2:** No significant downtime due to updates or openQA-worker 

 ## Suggestions 
 * Just do this First try on one machine, of our o3 workers, then extend to others in a later ticket* 
 * We can likely change our transactional workers to have a read-writable root partition while still doing a nightly transactional update and reboot. We effectively already do this on openqaworker7 which has a r/w root. So likely just a change in /etc/fstab while keeping the services `transactional-update` and `rebootmgr` in place. If you don't want to do that then just use one of the machines with r/w root place 
 * Try out `zypper -n ref -r devel:openQA | grep -q 'is up to date' && zypper -n dup -r devel:openQA` in a systemd timer every 5 minutes 
 * Include the change in github.com/os-autoinst/openQA/, updating or relating to https://github.com/os-autoinst/openQA/blob/master/systemd/opensuse/openqa-auto-update.service 
 * Write down the exact commands being used so that we can extend the approach to other machines 
 * Optional: Include the package openQA-worker 
 * Optional: First try on one of our o3 workers, then extend to others

Back