blob: ec3c643b2dd330744586483484a899b7e0655511 [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
28 name: smo-ves
santanude3be59512022-03-08 11:43:59 +053029 project-name: '{name}'
Mahesh Jethanandanicf9d2f62021-12-15 17:25:30 -080030 # image name
31 docker-name: 'smo-collector'
32 # 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
santanude3be59512022-03-08 11:43:59 +053044 name: smo-dmaap
45 project-name: '{name}'
46 # image name
47 docker-name: 'smo-dmaap-adapter'
48 # 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
60 name: smo-influxdb
61 project-name: '{name}'
62 # image name
63 docker-name: 'smo-influxdb-connector'
64 # 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
75 name: smo-postconfig
76 project-name: '{name}'
77 # image name
78 docker-name: 'smo-post-config'
79 # 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
Mahesh Jethanandanicf9d2f62021-12-15 17:25:30 -080091 name: smo-ves-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
101 name: smo-dmaap-release
102 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
111 name: smo-influxdb-release
112 project-name: '{name}'
Mahesh Jethanandanicf9d2f62021-12-15 17:25:30 -0800113 # 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'
Mahesh Jethanandani1875ce62022-01-18 16:58:11 -0800118
119- project:
120 <<: *ves_docker_common
santanudee25486d2022-06-15 12:04:18 +0530121 name: smo-ves-nexus-iq
122 build-node: centos7-builder-1c-1g
123 nexus-iq-namespace: oran-
124 jobs:
125 - gerrit-tox-nexus-iq-clm
126
127- project:
128 <<: *ves_docker_common
Mahesh Jethanandani1875ce62022-01-18 16:58:11 -0800129 name: smo-ves-sonarqube
130 python-version: python3
131 # the install script assumes an ubuntu image
132 build-node: ubuntu1804-builder-2c-2g
santanudea56f1322022-05-26 13:30:24 +0530133 pre-build-script: !include-raw-escape:
134 - ../shell/install-deb-rmr.sh
135 # impt for verify and tox etc
136 tox-envs: code,flake8
Mahesh Jethanandani1875ce62022-01-18 16:58:11 -0800137 sonar-project-file: ""
138 sonar-properties: |
139 sonar.login={sonarcloud_api_token}
140 sonar.projectKey={sonarcloud_project_organization}_{project-name}
141 sonar.projectName={project-name}
142 sonar.organization={sonarcloud_project_organization}
143 sonar.build.sourceEncoding=UTF-8
Mahesh Jethanandani2a8782b2022-03-03 09:23:13 -0800144 sonar.sources=collector
Mahesh Jethanandani1875ce62022-01-18 16:58:11 -0800145 sonar.python.coverage.reportPaths=coverage.xml
Mahesh Jethanandani2a8782b2022-03-03 09:23:13 -0800146 jobs:
santanudeb5abac42022-06-10 19:00:04 +0530147 - gerrit-tox-sonar