Setup compound variables for epel major and minor

This commit is contained in:
Diego Herrera 2025-03-10 14:21:08 -03:00
parent d0f84ac8b8
commit 08b30ef08e
2 changed files with 7 additions and 5 deletions

View file

@ -7,5 +7,7 @@
:current: 41
:old_release: 40
:epel_major: 10
:epel_new: 10.1
:epel_current: 10.0
:epel_minor: 0
:epel_minor_new: 1
:epel_current: {epel_major}.{epel_minor}
:epel_new: {epel_major}.{epel_minor_new}

View file

@ -20,8 +20,8 @@ In the case of EPEL, just removing the targets is enough to disable it's usage f
[source,bash,subs="attributes"]
----
$ koji remove-target epel10-candidate
$ koji remove-target epel10
$ koji remove-target epel{epel_major}-candidate
$ koji remove-target epel{epel_major}
----
=== Cancel all running build for EPEL{epel_major}
@ -30,7 +30,7 @@ List all running tasks and select only those relevant for current branching.
[source,bash,subs="attributes"]
----
$ koji list-builds --state=0 --type=rpm | grep el{epel_major}_0 | awk '{print $1}'
$ koji list-builds --state=0 --type=rpm | grep el{epel_major}_{epel_minor} | awk '{print $1}'
----
Cancel each of those tasks