From ca6370688fccc917e13b47fb08046b30cacd2fc3 Mon Sep 17 00:00:00 2001
From: Steve Traylen <steve.traylen@cern.ch>
Date: Mon, 14 Apr 2025 15:16:34 +0200
Subject: [PATCH] Correct name of code ready builder extern

The external CRB repo looks to have changed named between 8 and 9.
Align EPEL tag create script on 9 to reality:

For eight prod:

```
rhel8-codeready-builder   http://linuxsoft.cern.ch/cern/rhel/8/codeready-builder/$arch/os/
rhel9-codeready-builder   http://linuxsoft.cern.ch/cern/rhel/9/codeready-builder/$arch/os/
rhel8-testing-codeready-builder http://linuxsoft.cern.ch/cern/rhel/8-testing/codeready-builder/$arch/os
rhel9-testing-codeready-builder http://linuxsoft.cern.ch/cern/rhel/9-testing/codeready-builder/$arch/os
rhel8-latest-codeready-builder http://linuxsoft.cern.ch/cern/rhel/.8-latest/codeready-builder/$arch/os/
rhel9-latest-codeready-builder http://linuxsoft.cern.ch/cern/rhel/.9-latest/codeready-builder/$arch/os/
```

For nine prod:

```
cs9-crb                   http://linuxsoft.cern.ch/cern/centos/s9/CRB/$arch/os/
cs9-testing-crb           http://linuxsoft.cern.ch/cern/centos/s9-testing/CRB/$arch/os/
cs9-latest-crb            http://linuxsoft.cern.ch/cern/centos/.s9-latest/CRB/$arch/os/
alma9-crb                 http://linuxsoft.cern.ch/cern/alma/9/CRB/$arch/os/
alma9-testing-crb         http://linuxsoft.cern.ch/cern/alma/9-testing/CRB/$arch/os/
alma9-latest-crb          http://linuxsoft.cern.ch/cern/alma/.9-latest/CRB/$arch/os/
```
---
 bin/tags/cern9al.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/tags/cern9al.sh b/bin/tags/cern9al.sh
index 8b88dc9..2ec08e4 100755
--- a/bin/tags/cern9al.sh
+++ b/bin/tags/cern9al.sh
@@ -30,7 +30,7 @@ fi
 if [[ $TESTING -eq 1 ]]; then
   $KOJI add-external-repo -t $TAG-build alma9-testing-baseos -p 25 --mode=bare
   $KOJI add-external-repo -t $TAG-build alma9-testing-appstream -p 35 --mode=bare
-  $KOJI add-external-repo -t $TAG-build alma9-testing-codeready-builder -p 45 --mode=bare
+  $KOJI add-external-repo -t $TAG-build alma9-testing-crb -p 45 --mode=bare
 fi
 
 $KOJI edit-tag $TAG-testing --perm="$PERMS"
-- 
GitLab