blob: 8d25cc15eab29b7ffaea9b5bfbe7c965ff1b25b3 [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
RehanRazaf54a4f82021-01-11 19:22:37 +010055
56- project:
57 <<: *portal_nonrtric_controlpanel_common
YongchaoWu95b39b02020-03-19 15:40:42 +010058 name: portal-nonrtric-controlpanel-release
59 # maven release requires sigul which requires centos
60 # container release requires docker
61 build-node: centos7-docker-2c-8g
62 jobs:
63 - '{project-name}-gerrit-release-jobs'
64
65- project:
66 <<: *portal_nonrtric_controlpanel_common
67 name: portal-nonrtric-controlpanel-sonar
68 # template goal install builds docker image unnecessarily
69 mvn-params: -Ddocker.skip=true
70 sonarcloud: true
71 sonarcloud-api-token: '{sonarcloud_api_token}'
72 sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
73 sonarcloud-project-organization: '{sonarcloud_project_organization}'
74 jobs:
Lathish58d9fbd2021-01-18 14:37:44 +000075 - gerrit-maven-sonar
76
77- project:
78 <<: *portal_nonrtric_controlpanel_common
79 name: portal-nonrtric-controlpanel-gateway
80 project-name: '{name}'
RehanRazab18fb852021-01-29 16:33:26 +010081 mvn-params: '-f nonrtric-gateway'
Lathish58d9fbd2021-01-18 14:37:44 +000082 gerrit_trigger_file_paths:
83 - compare-type: REG_EXP
84 pattern: 'nonrtric-gateway/.*'
85 build-node: ubuntu1804-builder-4c-4g
86 jobs:
87 - gerrit-maven-verify
88 - gerrit-maven-merge
89 - gerrit-maven-stage
90 - gerrit-maven-clm
91 stream:
92 - master:
93 branch: master
ecaiyanlinux0bf03972021-07-30 06:33:17 +020094 - dawn:
95 branch: dawn
Lathish58d9fbd2021-01-18 14:37:44 +000096
97- project:
98 <<: *portal_nonrtric_controlpanel_common
99 name: portal-nonrtric-controlpanel-gateway-docker
100 project-name: '{name}'
RehanRazab18fb852021-01-29 16:33:26 +0100101 mvn-params: '-P docker -f nonrtric-gateway'
Lathish58d9fbd2021-01-18 14:37:44 +0000102 gerrit_trigger_file_paths:
103 - compare-type: REG_EXP
104 pattern: 'nonrtric-gateway/.*'
Anil Belur149942b2021-06-08 10:44:51 +1000105 - compare-type: REG_EXP
106 pattern: 'docker-compose/.*'
Lathish58d9fbd2021-01-18 14:37:44 +0000107 build-node: ubuntu1804-docker-4c-4g
108 jobs:
109 - gerrit-maven-docker-verify
110 - gerrit-maven-docker-merge
111 - gerrit-maven-docker-stage
112 stream:
113 - master:
114 branch: master
ecaiyanlinux0bf03972021-07-30 06:33:17 +0200115 - dawn:
116 branch: dawn