blob: f19d1f3f308f2b015129945bf18ab8efc93d285e [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
26 java-version: openjdk11
27 mvn-version: mvn36
28
29- project:
30 <<: *portal_nonrtric_controlpanel_common
RehanRazaf54a4f82021-01-11 19:22:37 +010031 name: nonrtric-controlpanel-frontend
32 # image name
33 docker-name: 'o-ran-sc/nonrtric-controlpanel'
34 # get tag from YAML
35 container-tag-method: yaml-file
36 # use host network to clone from our gerrit
37 docker-build-args: '--network=host'
38 # Directory with Dockerfile
39 docker-root: 'webapp-frontend'
40 # Limit build trigger to appropriate files
41 gerrit_trigger_file_paths:
42 - compare-type: REG_EXP
43 pattern: 'webapp-frontend/.*'
Anil Belur149942b2021-06-08 10:44:51 +100044 - compare-type: REG_EXP
45 pattern: 'docker-compose/.*'
RehanRazaf54a4f82021-01-11 19:22:37 +010046 build-node: ubuntu1804-docker-4c-4g
47 # Includes verify and merge jobs
48 jobs:
49 - "{project-name}-gerrit-docker-jobs"
50 stream:
51 - master:
52 branch: master
ecaiyanlinux0bf03972021-07-30 06:33:17 +020053 - dawn:
54 branch: dawn
elinuxhenrik0e14a612021-12-15 07:47:23 +010055 - e-release:
56 branch: e-release
RehanRazaf54a4f82021-01-11 19:22:37 +010057
58- project:
59 <<: *portal_nonrtric_controlpanel_common
YongchaoWu95b39b02020-03-19 15:40:42 +010060 name: portal-nonrtric-controlpanel-release
61 # maven release requires sigul which requires centos
62 # container release requires docker
63 build-node: centos7-docker-2c-8g
64 jobs:
65 - '{project-name}-gerrit-release-jobs'
66
67- project:
68 <<: *portal_nonrtric_controlpanel_common
69 name: portal-nonrtric-controlpanel-sonar
70 # template goal install builds docker image unnecessarily
71 mvn-params: -Ddocker.skip=true
72 sonarcloud: true
73 sonarcloud-api-token: '{sonarcloud_api_token}'
74 sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
75 sonarcloud-project-organization: '{sonarcloud_project_organization}'
76 jobs:
Lathish58d9fbd2021-01-18 14:37:44 +000077 - gerrit-maven-sonar
78
79- project:
80 <<: *portal_nonrtric_controlpanel_common
81 name: portal-nonrtric-controlpanel-gateway
82 project-name: '{name}'
RehanRazab18fb852021-01-29 16:33:26 +010083 mvn-params: '-f nonrtric-gateway'
Lathish58d9fbd2021-01-18 14:37:44 +000084 gerrit_trigger_file_paths:
85 - compare-type: REG_EXP
86 pattern: 'nonrtric-gateway/.*'
87 build-node: ubuntu1804-builder-4c-4g
88 jobs:
89 - gerrit-maven-verify
90 - gerrit-maven-merge
91 - gerrit-maven-stage
92 - gerrit-maven-clm
93 stream:
94 - master:
95 branch: master
ecaiyanlinux0bf03972021-07-30 06:33:17 +020096 - dawn:
97 branch: dawn
elinuxhenrik0e14a612021-12-15 07:47:23 +010098 - e-release:
99 branch: e-release
Lathish58d9fbd2021-01-18 14:37:44 +0000100
101- project:
102 <<: *portal_nonrtric_controlpanel_common
103 name: portal-nonrtric-controlpanel-gateway-docker
104 project-name: '{name}'
RehanRazab18fb852021-01-29 16:33:26 +0100105 mvn-params: '-P docker -f nonrtric-gateway'
Lathish58d9fbd2021-01-18 14:37:44 +0000106 gerrit_trigger_file_paths:
107 - compare-type: REG_EXP
108 pattern: 'nonrtric-gateway/.*'
Anil Belur149942b2021-06-08 10:44:51 +1000109 - compare-type: REG_EXP
110 pattern: 'docker-compose/.*'
Lathish58d9fbd2021-01-18 14:37:44 +0000111 build-node: ubuntu1804-docker-4c-4g
112 jobs:
113 - gerrit-maven-docker-verify
114 - gerrit-maven-docker-merge
115 - gerrit-maven-docker-stage
116 stream:
117 - master:
118 branch: master
ecaiyanlinux0bf03972021-07-30 06:33:17 +0200119 - dawn:
120 branch: dawn
elinuxhenrik0e14a612021-12-15 07:47:23 +0100121 - e-release:
122 branch: e-release
123