blob: c50426d1796592f9f1678f2cfc087ef02365d354 [file] [log] [blame]
LF Jenkins CI9ba2efa2020-03-12 19:43:51 +00001---
2- project:
3 name: portal-nonrtric-controlpanel-project-view
4 project-name: portal-nonrtric-controlpanel
5 views:
6 - project-view
7
8- project:
9 name: portal-nonrtric-controlpanel-info
10 project: portal/nonrtric-controlpanel
11 project-name: portal-nonrtric-controlpanel
12 build-node: centos7-builder-1c-1g
13 jobs:
14 - gerrit-info-yaml-verify
YongchaoWu95b39b02020-03-19 15:40:42 +010015
Anil Belur439502c2023-05-07 12:39:38 +100016- _portal_nonrtric_controlpanel_common:
17 &portal_nonrtric_controlpanel_common # values apply to all projects here
YongchaoWu95b39b02020-03-19 15:40:42 +010018 name: portal-nonrtric-controlpanel-common
19 # git repo
20 project: portal/nonrtric-controlpanel
21 # jenkins job name prefix
22 project-name: portal-nonrtric-controlpanel
23 # maven settings file has docker credentials
24 mvn-settings: portal-nonrtric-controlpanel-settings
25 # defaults.yaml value is NOT used due to value set in lf-maven-jobs.yaml
JohnKeeney31f91732023-03-23 15:05:14 +000026 java-version: openjdk17
YongchaoWu95b39b02020-03-19 15:40:42 +010027 mvn-version: mvn36
elinuxhenrikb450b9c2022-09-22 09:11:54 +020028 sonarcloud-project-key: "portal-nonrtric-controlpanel"
29 sonarcloud-project-organization: "o-ran-sc"
YongchaoWu95b39b02020-03-19 15:40:42 +010030
31- project:
32 <<: *portal_nonrtric_controlpanel_common
RehanRazaf54a4f82021-01-11 19:22:37 +010033 name: nonrtric-controlpanel-frontend
34 # image name
Anil Belur439502c2023-05-07 12:39:38 +100035 docker-name: "o-ran-sc/nonrtric-controlpanel"
RehanRazaf54a4f82021-01-11 19:22:37 +010036 # get tag from YAML
37 container-tag-method: yaml-file
38 # use host network to clone from our gerrit
Anil Belur439502c2023-05-07 12:39:38 +100039 docker-build-args: "--network=host"
RehanRazaf54a4f82021-01-11 19:22:37 +010040 # Directory with Dockerfile
Anil Belur439502c2023-05-07 12:39:38 +100041 docker-root: "webapp-frontend"
RehanRazaf54a4f82021-01-11 19:22:37 +010042 # Limit build trigger to appropriate files
43 gerrit_trigger_file_paths:
44 - compare-type: REG_EXP
Anil Belur439502c2023-05-07 12:39:38 +100045 pattern: "webapp-frontend/.*"
Anil Belur149942b2021-06-08 10:44:51 +100046 - compare-type: REG_EXP
Anil Belur439502c2023-05-07 12:39:38 +100047 pattern: "docker-compose/.*"
RehanRazaf54a4f82021-01-11 19:22:37 +010048 build-node: ubuntu1804-docker-4c-4g
49 # Includes verify and merge jobs
50 jobs:
51 - "{project-name}-gerrit-docker-jobs"
52 stream:
53 - master:
54 branch: master
elinuxhenrikd8dfdf82023-01-03 14:52:58 +010055 - g-release:
JohnKeeney31f91732023-03-23 15:05:14 +000056 java-version: openjdk11
elinuxhenrikd8dfdf82023-01-03 14:52:58 +010057 branch: g-release
JohnKeeney9199e552023-06-15 00:23:21 +010058 - h-release:
59 branch: h-release
JohnKeeney45e8cd02023-12-13 15:23:11 +000060 - i-release:
61 branch: i-release
RehanRazaf54a4f82021-01-11 19:22:37 +010062
63- project:
64 <<: *portal_nonrtric_controlpanel_common
YongchaoWu95b39b02020-03-19 15:40:42 +010065 name: portal-nonrtric-controlpanel-release
66 # maven release requires sigul which requires centos
67 # container release requires docker
68 build-node: centos7-docker-2c-8g
69 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100070 - "{project-name}-gerrit-release-jobs"
YongchaoWu95b39b02020-03-19 15:40:42 +010071
72- project:
73 <<: *portal_nonrtric_controlpanel_common
elinuxhenrikb450b9c2022-09-22 09:11:54 +020074 name: portal-nonrtric-controlpanel-gateway-sonar
YongchaoWu95b39b02020-03-19 15:40:42 +010075 # template goal install builds docker image unnecessarily
Anil Belur439502c2023-05-07 12:39:38 +100076 mvn-params: "-Ddocker.skip=true -f nonrtric-gateway"
elinuxhenrikb450b9c2022-09-22 09:11:54 +020077 gerrit_trigger_file_paths:
78 - compare-type: REG_EXP
Anil Belur439502c2023-05-07 12:39:38 +100079 pattern: "nonrtric-gateway/.*"
YongchaoWu95b39b02020-03-19 15:40:42 +010080 sonarcloud: true
Anil Belur439502c2023-05-07 12:39:38 +100081 sonarcloud-api-token: "{sonarcloud_api_token}"
82 sonarcloud-project-key: "{project-name}-gateway"
83 sonarcloud-project-organization: "{sonarcloud_project_organization}"
YongchaoWu95b39b02020-03-19 15:40:42 +010084 jobs:
Lathish58d9fbd2021-01-18 14:37:44 +000085 - gerrit-maven-sonar
86
87- project:
88 <<: *portal_nonrtric_controlpanel_common
elinuxhenrikb450b9c2022-09-22 09:11:54 +020089 name: portal-nonrtric-controlpanel-frontend-sonar
90 gerrit_trigger_file_paths:
91 - compare-type: REG_EXP
Anil Belur439502c2023-05-07 12:39:38 +100092 pattern: "webapp-frontend/.*"
elinuxhenrikb450b9c2022-09-22 09:11:54 +020093 build-node: ubuntu1804-docker-4c-4g
94 java-version: openjdk11
95 sonarcloud: true
96 sonar-project-file: ""
97 jobs:
98 - gerrit-cli-sonar
99
100- project:
101 <<: *portal_nonrtric_controlpanel_common
Lathish58d9fbd2021-01-18 14:37:44 +0000102 name: portal-nonrtric-controlpanel-gateway
Anil Belur439502c2023-05-07 12:39:38 +1000103 project-name: "{name}"
104 mvn-params: "-f nonrtric-gateway"
Lathish58d9fbd2021-01-18 14:37:44 +0000105 gerrit_trigger_file_paths:
106 - compare-type: REG_EXP
Anil Belur439502c2023-05-07 12:39:38 +1000107 pattern: "nonrtric-gateway/.*"
Lathish58d9fbd2021-01-18 14:37:44 +0000108 build-node: ubuntu1804-builder-4c-4g
109 jobs:
110 - gerrit-maven-verify
111 - gerrit-maven-merge
112 - gerrit-maven-stage
113 - gerrit-maven-clm
114 stream:
115 - master:
116 branch: master
elinuxhenrikd8dfdf82023-01-03 14:52:58 +0100117 - g-release:
JohnKeeney31f91732023-03-23 15:05:14 +0000118 java-version: openjdk11
elinuxhenrikd8dfdf82023-01-03 14:52:58 +0100119 branch: g-release
JohnKeeney9199e552023-06-15 00:23:21 +0100120 - h-release:
121 branch: h-release
JohnKeeney45e8cd02023-12-13 15:23:11 +0000122 - i-release:
123 branch: i-release
Lathish58d9fbd2021-01-18 14:37:44 +0000124
125- project:
126 <<: *portal_nonrtric_controlpanel_common
127 name: portal-nonrtric-controlpanel-gateway-docker
Anil Belur439502c2023-05-07 12:39:38 +1000128 project-name: "{name}"
129 mvn-params: "-P docker -f nonrtric-gateway"
Lathish58d9fbd2021-01-18 14:37:44 +0000130 gerrit_trigger_file_paths:
131 - compare-type: REG_EXP
Anil Belur439502c2023-05-07 12:39:38 +1000132 pattern: "nonrtric-gateway/.*"
Anil Belur149942b2021-06-08 10:44:51 +1000133 - compare-type: REG_EXP
Anil Belur439502c2023-05-07 12:39:38 +1000134 pattern: "docker-compose/.*"
Lathish58d9fbd2021-01-18 14:37:44 +0000135 build-node: ubuntu1804-docker-4c-4g
136 jobs:
137 - gerrit-maven-docker-verify
138 - gerrit-maven-docker-merge
139 - gerrit-maven-docker-stage
140 stream:
141 - master:
142 branch: master
elinuxhenrikd8dfdf82023-01-03 14:52:58 +0100143 - g-release:
JohnKeeney31f91732023-03-23 15:05:14 +0000144 java-version: openjdk11
elinuxhenrikd8dfdf82023-01-03 14:52:58 +0100145 branch: g-release
JohnKeeney9199e552023-06-15 00:23:21 +0100146 - h-release:
147 branch: h-release
JohnKeeney45e8cd02023-12-13 15:23:11 +0000148 - i-release:
149 branch: i-release