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.