action #78348
openosd: Some job group obsolete definitions should be removed
0%
Description
/usr/bin/openqa-client --json-output --host https://openqa.suse.de job_groups 2>/dev/null|jq -r '.[]|select(.name|test("Maintenance: SLE .*Updates"))|(.id|tostring)+" "+.name'|sort -r -k4
The above command outputs the following job group definition:
346 Maintenance: SLE 15 SP2 Updates
308 Maintenance: SLE 15 SP2 Updates
232 Maintenance: SLE 15 SP1 Updates
165 Maintenance: SLE 15 GA Updates
280 Maintenance: SLE 12 SP5 Updates
218 Maintenance: SLE 12 SP4 Updates
108 Maintenance: SLE 12 SP3 Updates
54 Maintenance: SLE 12 SP2 Updates
34 Maintenance: SLE 12 SP1 Updates
35 Maintenance: SLE 12 GA Updates
"34 Maintenance: SLE 12 SP1 Updates" and "35 Maintenance: SLE 12 GA Updates" are obsolete. They should be removed from database.
346 and 308 have the same group name which causes confusion.
Updated by okurz about 4 years ago
- Subject changed from Some job group obsolete definitions should be removed to osd: Some job group obsolete definitions should be removed
- Target version set to future
ok. I agree that the duplicate names is confusing. It should be possible to rename the job group for any admin.
Any admin with access to the database can remove old job groups but I think some of them could be kept around a bit longer. Also groups like "Development / Maintenance: SLE 15 SP2 Updates" might be used temporarily sometimes when test scenarios that are pulled out from the update validation job groups.