blob: 7578c6f2f208ba40e8978d1a9e9920bdb556b2a3 [file] [log] [blame]
LF Jenkins CI9e98e642020-10-20 20:07:19 +00001---
2- project:
3 name: smo-ves-project-view
4 project-name: smo-ves
5 views:
6 - project-view
7
8- project:
9 name: smo-ves-info
10 project: smo/ves
11 project-name: smo-ves
12 build-node: centos7-builder-1c-1g
13 jobs:
14 - gerrit-info-yaml-verify
Mahesh Jethanandanicf9d2f62021-12-15 17:25:30 -080015
16- ves_docker_common: &ves_docker_common
17 # values apply to all docker projects
18 name: ves-docker-common
19 # git repo
20 project: smo/ves
21 # jenkins job name prefix
22 project-name: smo-ves
23 # maven settings file has docker credentials
24 mvn-settings: smo-ves-settings
Matthew Watkinsa434de12022-09-20 13:46:26 +010025 sonarcloud-project-key: "smo-ves"
26 sonarcloud-project-organization: "o-ran-sc"
Mahesh Jethanandanicf9d2f62021-12-15 17:25:30 -080027
28- project:
29 <<: *ves_docker_common
santanudeb85d32c2022-09-08 11:04:11 +053030 name: smo-ves-collector
santanude3be59512022-03-08 11:43:59 +053031 project-name: '{name}'
Mahesh Jethanandanicf9d2f62021-12-15 17:25:30 -080032 # image name
santanudeb85d32c2022-09-08 11:04:11 +053033 docker-name: 'o-ran-sc/{name}'
Mahesh Jethanandanicf9d2f62021-12-15 17:25:30 -080034 # Dockerfile is in a subdir
35 docker-root: collector
36 # source of docker tag
37 container-tag-method: yaml-file
38 jobs:
39 - '{project-name}-gerrit-docker-jobs'
40 stream:
41 - master:
42 branch: master
43
44- project:
45 <<: *ves_docker_common
santanudeb85d32c2022-09-08 11:04:11 +053046 name: smo-ves-dmaap-adapter
santanude3be59512022-03-08 11:43:59 +053047 project-name: '{name}'
48 # image name
santanudeb85d32c2022-09-08 11:04:11 +053049 docker-name: 'o-ran-sc/{name}'
santanude3be59512022-03-08 11:43:59 +053050 # Dockerfile is in a subdir
51 docker-root: dmaapadapter
52 # source of docker tag
53 container-tag-method: yaml-file
54 jobs:
55 - '{project-name}-gerrit-docker-jobs'
56 stream:
57 - master:
58 branch: master
59
60- project:
61 <<: *ves_docker_common
santanudeb85d32c2022-09-08 11:04:11 +053062 name: smo-ves-influxdb-connector
santanude3be59512022-03-08 11:43:59 +053063 project-name: '{name}'
64 # image name
santanudeb85d32c2022-09-08 11:04:11 +053065 docker-name: 'o-ran-sc/{name}'
santanude3be59512022-03-08 11:43:59 +053066 # Dockerfile is in a subdir
67 docker-root: influxdb-connector
68 # source of docker tag
69 container-tag-method: yaml-file
70 jobs:
71 - '{project-name}-gerrit-docker-jobs'
72 stream:
73 - master:
74 branch: master
santanudead2c3972022-05-13 16:39:30 +053075- project:
76 <<: *ves_docker_common
santanudeb85d32c2022-09-08 11:04:11 +053077 name: smo-ves-post-config
santanudead2c3972022-05-13 16:39:30 +053078 project-name: '{name}'
79 # image name
santanudeb85d32c2022-09-08 11:04:11 +053080 docker-name: 'o-ran-sc/{name}'
santanudead2c3972022-05-13 16:39:30 +053081 # Dockerfile is in a subdir
82 docker-root: postconfig
83 # source of docker tag
84 container-tag-method: yaml-file
85 jobs:
86 - '{project-name}-gerrit-docker-jobs'
87 stream:
88 - master:
89 branch: master
santanude3be59512022-03-08 11:43:59 +053090
91- project:
92 <<: *ves_docker_common
santanudeb85d32c2022-09-08 11:04:11 +053093 name: smo-ves-collector-release
santanude3be59512022-03-08 11:43:59 +053094 project-name: '{name}'
95 # maven release requires sigul which requires centos
96 # container release requires docker
97 build-node: centos7-docker-2c-8g
98 jobs:
99 - '{project-name}-gerrit-release-jobs'
100
101- project:
102 <<: *ves_docker_common
santanudeb85d32c2022-09-08 11:04:11 +0530103 name: smo-ves-dmaap-adapter-release
santanude3be59512022-03-08 11:43:59 +0530104 project-name: '{name}'
105 # maven release requires sigul which requires centos
106 # container release requires docker
107 build-node: centos7-docker-2c-8g
108 jobs:
109 - '{project-name}-gerrit-release-jobs'
110
111- project:
112 <<: *ves_docker_common
santanudeb85d32c2022-09-08 11:04:11 +0530113 name: smo-ves-influxdb-connector-release
santanude1ccbbc52022-08-26 18:39:51 +0530114 project-name: '{name}'
115 # maven release requires sigul which requires centos
116 # container release requires docker
117 build-node: centos7-docker-2c-8g
118 jobs:
119 - '{project-name}-gerrit-release-jobs'
120
121- project:
122 <<: *ves_docker_common
santanudeb85d32c2022-09-08 11:04:11 +0530123 name: smo-ves-post-config-release
santanude3be59512022-03-08 11:43:59 +0530124 project-name: '{name}'
Mahesh Jethanandanicf9d2f62021-12-15 17:25:30 -0800125 # maven release requires sigul which requires centos
126 # container release requires docker
127 build-node: centos7-docker-2c-8g
128 jobs:
129 - '{project-name}-gerrit-release-jobs'
Mahesh Jethanandani1875ce62022-01-18 16:58:11 -0800130
131- project:
132 <<: *ves_docker_common
santanudee25486d2022-06-15 12:04:18 +0530133 name: smo-ves-nexus-iq
134 build-node: centos7-builder-1c-1g
135 nexus-iq-namespace: oran-
136 jobs:
137 - gerrit-tox-nexus-iq-clm
138
139- project:
140 <<: *ves_docker_common
Mahesh Jethanandani1875ce62022-01-18 16:58:11 -0800141 name: smo-ves-sonarqube
142 python-version: python3
143 # the install script assumes an ubuntu image
144 build-node: ubuntu1804-builder-2c-2g
santanude3be80fd2022-06-30 18:44:55 +0530145 #pre-build-script: !include-raw-escape:
146 # - ../shell/install-deb-rmr.sh
santanudea56f1322022-05-26 13:30:24 +0530147 # impt for verify and tox etc
148 tox-envs: code,flake8
Matthew Watkinsff4439e2022-08-17 15:31:26 +0100149 sonarcloud: true
Mahesh Jethanandani1875ce62022-01-18 16:58:11 -0800150 sonar-project-file: ""
151 sonar-properties: |
152 sonar.login={sonarcloud_api_token}
153 sonar.projectKey={sonarcloud_project_organization}_{project-name}
154 sonar.projectName={project-name}
155 sonar.organization={sonarcloud_project_organization}
156 sonar.build.sourceEncoding=UTF-8
Mahesh Jethanandani2a8782b2022-03-03 09:23:13 -0800157 sonar.sources=collector
Mahesh Jethanandani1875ce62022-01-18 16:58:11 -0800158 sonar.python.coverage.reportPaths=coverage.xml
Mahesh Jethanandani2a8782b2022-03-03 09:23:13 -0800159 jobs:
santanudeb5abac42022-06-10 19:00:04 +0530160 - gerrit-tox-sonar