blob: 740bb89982c43c753b0b9f996beae4ccecbb0cb3 [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
santanude46995452022-10-10 15:05:47 +053093 name: smo-ves-release
santanude3be59512022-03-08 11:43:59 +053094 project-name: '{name}'
Mahesh Jethanandanicf9d2f62021-12-15 17:25:30 -080095 # 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'
Mahesh Jethanandani1875ce62022-01-18 16:58:11 -0800100
101- project:
102 <<: *ves_docker_common
santanudee25486d2022-06-15 12:04:18 +0530103 name: smo-ves-nexus-iq
104 build-node: centos7-builder-1c-1g
105 nexus-iq-namespace: oran-
106 jobs:
107 - gerrit-tox-nexus-iq-clm
108
109- project:
110 <<: *ves_docker_common
Mahesh Jethanandani1875ce62022-01-18 16:58:11 -0800111 name: smo-ves-sonarqube
112 python-version: python3
113 # the install script assumes an ubuntu image
114 build-node: ubuntu1804-builder-2c-2g
santanude3be80fd2022-06-30 18:44:55 +0530115 #pre-build-script: !include-raw-escape:
116 # - ../shell/install-deb-rmr.sh
santanudea56f1322022-05-26 13:30:24 +0530117 # impt for verify and tox etc
118 tox-envs: code,flake8
Matthew Watkinsff4439e2022-08-17 15:31:26 +0100119 sonarcloud: true
Mahesh Jethanandani1875ce62022-01-18 16:58:11 -0800120 sonar-project-file: ""
121 sonar-properties: |
122 sonar.login={sonarcloud_api_token}
123 sonar.projectKey={sonarcloud_project_organization}_{project-name}
124 sonar.projectName={project-name}
125 sonar.organization={sonarcloud_project_organization}
126 sonar.build.sourceEncoding=UTF-8
Mahesh Jethanandani2a8782b2022-03-03 09:23:13 -0800127 sonar.sources=collector
Mahesh Jethanandani1875ce62022-01-18 16:58:11 -0800128 sonar.python.coverage.reportPaths=coverage.xml
Mahesh Jethanandani2a8782b2022-03-03 09:23:13 -0800129 jobs:
santanudeb5abac42022-06-10 19:00:04 +0530130 - gerrit-tox-sonar
Matthew Watkinsf1f9d3a2022-09-20 23:09:18 +0100131 - gerrit-cli-sonar