blob: 25863bbdaeac4118cf9441b6b0cb791984866e05 [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
16- portal_nonrtric_controlpanel_common: &portal_nonrtric_controlpanel_common
17 # values apply to all projects here
18 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
35 docker-name: 'o-ran-sc/nonrtric-controlpanel'
36 # get tag from YAML
37 container-tag-method: yaml-file
38 # use host network to clone from our gerrit
39 docker-build-args: '--network=host'
40 # Directory with Dockerfile
41 docker-root: 'webapp-frontend'
42 # Limit build trigger to appropriate files
43 gerrit_trigger_file_paths:
44 - compare-type: REG_EXP
45 pattern: 'webapp-frontend/.*'
Anil Belur149942b2021-06-08 10:44:51 +100046 - compare-type: REG_EXP
47 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
RehanRazaf54a4f82021-01-11 19:22:37 +010058
59- project:
60 <<: *portal_nonrtric_controlpanel_common
YongchaoWu95b39b02020-03-19 15:40:42 +010061 name: portal-nonrtric-controlpanel-release
62 # maven release requires sigul which requires centos
63 # container release requires docker
64 build-node: centos7-docker-2c-8g
65 jobs:
66 - '{project-name}-gerrit-release-jobs'
67
68- project:
69 <<: *portal_nonrtric_controlpanel_common
elinuxhenrikb450b9c2022-09-22 09:11:54 +020070 name: portal-nonrtric-controlpanel-gateway-sonar
YongchaoWu95b39b02020-03-19 15:40:42 +010071 # template goal install builds docker image unnecessarily
elinuxhenrikb450b9c2022-09-22 09:11:54 +020072 mvn-params: '-Ddocker.skip=true -f nonrtric-gateway'
73 gerrit_trigger_file_paths:
74 - compare-type: REG_EXP
75 pattern: 'nonrtric-gateway/.*'
YongchaoWu95b39b02020-03-19 15:40:42 +010076 sonarcloud: true
77 sonarcloud-api-token: '{sonarcloud_api_token}'
elinuxhenrikb450b9c2022-09-22 09:11:54 +020078 sonarcloud-project-key: '{project-name}-gateway'
YongchaoWu95b39b02020-03-19 15:40:42 +010079 sonarcloud-project-organization: '{sonarcloud_project_organization}'
80 jobs:
Lathish58d9fbd2021-01-18 14:37:44 +000081 - gerrit-maven-sonar
82
83- project:
84 <<: *portal_nonrtric_controlpanel_common
elinuxhenrikb450b9c2022-09-22 09:11:54 +020085 name: portal-nonrtric-controlpanel-frontend-sonar
86 gerrit_trigger_file_paths:
87 - compare-type: REG_EXP
88 pattern: 'webapp-frontend/.*'
89 build-node: ubuntu1804-docker-4c-4g
90 java-version: openjdk11
91 sonarcloud: true
92 sonar-project-file: ""
93 jobs:
94 - gerrit-cli-sonar
95
96- project:
97 <<: *portal_nonrtric_controlpanel_common
Lathish58d9fbd2021-01-18 14:37:44 +000098 name: portal-nonrtric-controlpanel-gateway
99 project-name: '{name}'
RehanRazab18fb852021-01-29 16:33:26 +0100100 mvn-params: '-f nonrtric-gateway'
Lathish58d9fbd2021-01-18 14:37:44 +0000101 gerrit_trigger_file_paths:
102 - compare-type: REG_EXP
103 pattern: 'nonrtric-gateway/.*'
104 build-node: ubuntu1804-builder-4c-4g
105 jobs:
106 - gerrit-maven-verify
107 - gerrit-maven-merge
108 - gerrit-maven-stage
109 - gerrit-maven-clm
110 stream:
111 - master:
112 branch: master
elinuxhenrikd8dfdf82023-01-03 14:52:58 +0100113 - g-release:
JohnKeeney31f91732023-03-23 15:05:14 +0000114 java-version: openjdk11
elinuxhenrikd8dfdf82023-01-03 14:52:58 +0100115 branch: g-release
Lathish58d9fbd2021-01-18 14:37:44 +0000116
117- project:
118 <<: *portal_nonrtric_controlpanel_common
119 name: portal-nonrtric-controlpanel-gateway-docker
120 project-name: '{name}'
RehanRazab18fb852021-01-29 16:33:26 +0100121 mvn-params: '-P docker -f nonrtric-gateway'
Lathish58d9fbd2021-01-18 14:37:44 +0000122 gerrit_trigger_file_paths:
123 - compare-type: REG_EXP
124 pattern: 'nonrtric-gateway/.*'
Anil Belur149942b2021-06-08 10:44:51 +1000125 - compare-type: REG_EXP
126 pattern: 'docker-compose/.*'
Lathish58d9fbd2021-01-18 14:37:44 +0000127 build-node: ubuntu1804-docker-4c-4g
128 jobs:
129 - gerrit-maven-docker-verify
130 - gerrit-maven-docker-merge
131 - gerrit-maven-docker-stage
132 stream:
133 - master:
134 branch: master
elinuxhenrikd8dfdf82023-01-03 14:52:58 +0100135 - g-release:
JohnKeeney31f91732023-03-23 15:05:14 +0000136 java-version: openjdk11
elinuxhenrikd8dfdf82023-01-03 14:52:58 +0100137 branch: g-release
elinuxhenrik0e14a612021-12-15 07:47:23 +0100138