Chore: Use C8 build node for new project creation jobs 54/71454/1
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Tue, 28 Mar 2023 16:58:31 +0000 (09:58 -0700)
committerJessica Wagantall <jwagantall@linuxfoundation.org>
Tue, 28 Mar 2023 17:05:21 +0000 (10:05 -0700)
ONAP needs to use Centos8 build nodes in new automated project
yaml file creation.

Issue: RELENG-4659
Change-Id: I2dad2d7d26dc0690b98c5c15f42075a46b31fa97
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
lftools/api/endpoints/gerrit.py
lftools/git/gerrit.py
releasenotes/notes/change-default-node-for-onap-new-repos-3daabfaaf7c15a63.yaml [new file with mode: 0644]

index 7dbe489..28314d1 100644 (file)
@@ -125,6 +125,8 @@ class Gerrit(client.RestApi):
 
         if fqdn == "gerrit.o-ran-sc.org":
             buildnode = "centos7-builder-1c-1g"
+        elif fqdn == "gerrit.onap.org":
+            buildnode = "centos8-builder-2c-1g"
         else:
             buildnode = "centos7-builder-2c-1g"
 
index e94558c..ebf890f 100644 (file)
@@ -155,6 +155,8 @@ class Gerrit:
         if not agent:
             if fqdn == "gerrit.o-ran-sc.org":
                 buildnode = "centos7-builder-1c-1g"
+            elif fqdn == "gerrit.onap.org":
+                buildnode = "centos8-builder-2c-1g"
             else:
                 buildnode = "centos7-builder-2c-1g"
 
diff --git a/releasenotes/notes/change-default-node-for-onap-new-repos-3daabfaaf7c15a63.yaml b/releasenotes/notes/change-default-node-for-onap-new-repos-3daabfaaf7c15a63.yaml
new file mode 100644 (file)
index 0000000..234bd26
--- /dev/null
@@ -0,0 +1,4 @@
+---
+fixes:
+  - |
+    Use Centos8 nodes in ONAP new project creation automated yaml files.