From: Jessica Wagantall Date: Tue, 28 Mar 2023 16:58:31 +0000 (-0700) Subject: Chore: Use C8 build node for new project creation jobs X-Git-Tag: v0.37.4~14 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F54%2F71454%2F1;p=releng%2Flftools.git Chore: Use C8 build node for new project creation jobs 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 --- diff --git a/lftools/api/endpoints/gerrit.py b/lftools/api/endpoints/gerrit.py index 7dbe4893..28314d15 100644 --- a/lftools/api/endpoints/gerrit.py +++ b/lftools/api/endpoints/gerrit.py @@ -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" diff --git a/lftools/git/gerrit.py b/lftools/git/gerrit.py index e94558c0..ebf890f6 100644 --- a/lftools/git/gerrit.py +++ b/lftools/git/gerrit.py @@ -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 index 00000000..234bd26b --- /dev/null +++ b/releasenotes/notes/change-default-node-for-onap-new-repos-3daabfaaf7c15a63.yaml @@ -0,0 +1,4 @@ +--- +fixes: + - | + Use Centos8 nodes in ONAP new project creation automated yaml files.