Project

General

Profile

action #103692

Updated by livdywan over 2 years ago

## Motivation 
 As seen in #103422 we could have prevented problems within the o3 infrastructure by blocking o3 worker upgrades by package checks which already reproduced problems. As we do the o3 worker upgrade with transactional update we could look into executing similar checks that we do in https://github.com/os-autoinst/openQA/blob/master/script/openqa-auto-update#L27 

 ## Acceptance criteria 
 * **AC1:** o3 workers do not automatically upgrade overnight if package checks in https://build.opensuse.org/project/show/devel:openQA fail in the corresponding repository version 
 * **AC2:** o3 workers still regularly upgrade overnight 

 ## Suggestions 
 * Create a systemd override for "transactional-update.service" that executes the package check from https://github.com/os-autoinst/openQA/blob/master/script/openqa-auto-update#L27 and abort if any fail before the actual upgrade check 
 * Consider refacotring the "line" into a little cleaner snippet 
 - Add `-S` to the `curl` command

Back