Skip to content

Commit

Permalink
Chore: Use C8 build node for new project creation jobs
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
jwagantall committed Mar 28, 2023
1 parent 7ac2bd9 commit 6da6d58
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lftools/api/endpoints/gerrit.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ def add_info_job(self, fqdn, gerrit_project, jjbrepo, reviewid, issue_id, **kwar

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"

Expand Down
2 changes: 2 additions & 0 deletions lftools/git/gerrit.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ def add_info_job(self, fqdn, gerrit_project, issue_id, agent):
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"

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
fixes:
- |
Use Centos8 nodes in ONAP new project creation automated yaml files.

0 comments on commit 6da6d58

Please sign in to comment.