blob: fd94438e98403e356dd41f3257fae1553b052290 [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
25
26- project:
27 <<: *ves_docker_common
santanudeb85d32c2022-09-08 11:04:11 +053028 name: smo-ves-collector
santanude3be59512022-03-08 11:43:59 +053029 project-name: '{name}'
Mahesh Jethanandanicf9d2f62021-12-15 17:25:30 -080030 # image name
santanudeb85d32c2022-09-08 11:04:11 +053031 docker-name: 'o-ran-sc/{name}'
Mahesh Jethanandanicf9d2f62021-12-15 17:25:30 -080032 # Dockerfile is in a subdir
33 docker-root: collector
34 # source of docker tag
35 container-tag-method: yaml-file
36 jobs:
37 - '{project-name}-gerrit-docker-jobs'
38 stream:
39 - master:
40 branch: master
41
42- project:
43 <<: *ves_docker_common
santanudeb85d32c2022-09-08 11:04:11 +053044 name: smo-ves-dmaap-adapter
santanude3be59512022-03-08 11:43:59 +053045 project-name: '{name}'
46 # image name
santanudeb85d32c2022-09-08 11:04:11 +053047 docker-name: 'o-ran-sc/{name}'
santanude3be59512022-03-08 11:43:59 +053048 # Dockerfile is in a subdir
49 docker-root: dmaapadapter
50 # source of docker tag
51 container-tag-method: yaml-file
52 jobs:
53 - '{project-name}-gerrit-docker-jobs'
54 stream:
55 - master:
56 branch: master
57
58- project:
59 <<: *ves_docker_common
santanudeb85d32c2022-09-08 11:04:11 +053060 name: smo-ves-influxdb-connector
santanude3be59512022-03-08 11:43:59 +053061 project-name: '{name}'
62 # image name
santanudeb85d32c2022-09-08 11:04:11 +053063 docker-name: 'o-ran-sc/{name}'
santanude3be59512022-03-08 11:43:59 +053064 # Dockerfile is in a subdir
65 docker-root: influxdb-connector
66 # source of docker tag
67 container-tag-method: yaml-file
68 jobs:
69 - '{project-name}-gerrit-docker-jobs'
70 stream:
71 - master:
72 branch: master
santanudead2c3972022-05-13 16:39:30 +053073- project:
74 <<: *ves_docker_common
santanudeb85d32c2022-09-08 11:04:11 +053075 name: smo-ves-post-config
santanudead2c3972022-05-13 16:39:30 +053076 project-name: '{name}'
77 # image name
santanudeb85d32c2022-09-08 11:04:11 +053078 docker-name: 'o-ran-sc/{name}'
santanudead2c3972022-05-13 16:39:30 +053079 # Dockerfile is in a subdir
80 docker-root: postconfig
81 # source of docker tag
82 container-tag-method: yaml-file
83 jobs:
84 - '{project-name}-gerrit-docker-jobs'
85 stream:
86 - master:
87 branch: master
santanude3be59512022-03-08 11:43:59 +053088
89- project:
90 <<: *ves_docker_common
santanudeb85d32c2022-09-08 11:04:11 +053091 name: smo-ves-collector-release
santanude3be59512022-03-08 11:43:59 +053092 project-name: '{name}'
93 # maven release requires sigul which requires centos
94 # container release requires docker
95 build-node: centos7-docker-2c-8g
96 jobs:
97 - '{project-name}-gerrit-release-jobs'
98
99- project:
100 <<: *ves_docker_common
santanudeb85d32c2022-09-08 11:04:11 +0530101 name: smo-ves-dmaap-adapter-release
santanude3be59512022-03-08 11:43:59 +0530102 project-name: '{name}'
103 # maven release requires sigul which requires centos
104 # container release requires docker
105 build-node: centos7-docker-2c-8g
106 jobs:
107 - '{project-name}-gerrit-release-jobs'
108
109- project:
110 <<: *ves_docker_common
santanudeb85d32c2022-09-08 11:04:11 +0530111 name: smo-ves-influxdb-connector-release
santanude1ccbbc52022-08-26 18:39:51 +0530112 project-name: '{name}'
113 # maven release requires sigul which requires centos
114 # container release requires docker
115 build-node: centos7-docker-2c-8g
116 jobs:
117 - '{project-name}-gerrit-release-jobs'
118
119- project:
120 <<: *ves_docker_common
santanudeb85d32c2022-09-08 11:04:11 +0530121 name: smo-ves-post-config-release
santanude3be59512022-03-08 11:43:59 +0530122 project-name: '{name}'
Mahesh Jethanandanicf9d2f62021-12-15 17:25:30 -0800123 # maven release requires sigul which requires centos
124 # container release requires docker
125 build-node: centos7-docker-2c-8g
126 jobs:
127 - '{project-name}-gerrit-release-jobs'
Mahesh Jethanandani1875ce62022-01-18 16:58:11 -0800128
129- project:
130 <<: *ves_docker_common
santanudee25486d2022-06-15 12:04:18 +0530131 name: smo-ves-nexus-iq
132 build-node: centos7-builder-1c-1g
133 nexus-iq-namespace: oran-
134 jobs:
135 - gerrit-tox-nexus-iq-clm
136
137- project:
138 <<: *ves_docker_common
Mahesh Jethanandani1875ce62022-01-18 16:58:11 -0800139 name: smo-ves-sonarqube
140 python-version: python3
141 # the install script assumes an ubuntu image
142 build-node: ubuntu1804-builder-2c-2g
santanude3be80fd2022-06-30 18:44:55 +0530143 #pre-build-script: !include-raw-escape:
144 # - ../shell/install-deb-rmr.sh
santanudea56f1322022-05-26 13:30:24 +0530145 # impt for verify and tox etc
146 tox-envs: code,flake8
Matthew Watkinsff4439e2022-08-17 15:31:26 +0100147 sonarcloud: true
Mahesh Jethanandani1875ce62022-01-18 16:58:11 -0800148 sonar-project-file: ""
149 sonar-properties: |
150 sonar.login={sonarcloud_api_token}
151 sonar.projectKey={sonarcloud_project_organization}_{project-name}
152 sonar.projectName={project-name}
153 sonar.organization={sonarcloud_project_organization}
154 sonar.build.sourceEncoding=UTF-8
Mahesh Jethanandani2a8782b2022-03-03 09:23:13 -0800155 sonar.sources=collector
Mahesh Jethanandani1875ce62022-01-18 16:58:11 -0800156 sonar.python.coverage.reportPaths=coverage.xml
Mahesh Jethanandani2a8782b2022-03-03 09:23:13 -0800157 jobs:
santanudeb5abac42022-06-10 19:00:04 +0530158 - gerrit-tox-sonar