| |
@@ -113,6 +113,8 @@
|
| |
repo = msg["commit"]["repo"]
|
| |
branch = msg["commit"]["branch"]
|
| |
|
| |
+ self._create_session(koji_url, principal, keytab)
|
| |
+
|
| |
if branch in ["main", "rawhide"]:
|
| |
tag_name = self.get_fedora_rawhide_tag("rawhide")
|
| |
elif "container" in msg["commit"]["namespace"]:
|
| |
@@ -126,8 +128,6 @@
|
| |
|
| |
_log.info("Processing Koji block retired for %s", repo)
|
| |
|
| |
- self._create_session(koji_url, principal, keytab)
|
| |
-
|
| |
# Untag builds first due to koji/mash bug:
|
| |
# https://fedorahosted.org/koji/ticket/299
|
| |
# FIXME: This introduces a theoretical race condition when a package is
|
| |
Signed-off-by: Lenka Segura lsegura@redhat.com