blob: 12d221e77897c55a81088e90fba2c2ae2c178a4d [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
73
74- project:
75 <<: *ves_docker_common
Mahesh Jethanandanicf9d2f62021-12-15 17:25:30 -080076 name: smo-ves-release
santanude3be59512022-03-08 11:43:59 +053077 project-name: '{name}'
78 # maven release requires sigul which requires centos
79 # container release requires docker
80 build-node: centos7-docker-2c-8g
81 jobs:
82 - '{project-name}-gerrit-release-jobs'
83
84- project:
85 <<: *ves_docker_common
86 name: smo-dmaap-release
87 project-name: '{name}'
88 # maven release requires sigul which requires centos
89 # container release requires docker
90 build-node: centos7-docker-2c-8g
91 jobs:
92 - '{project-name}-gerrit-release-jobs'
93
94- project:
95 <<: *ves_docker_common
96 name: smo-influxdb-release
97 project-name: '{name}'
Mahesh Jethanandanicf9d2f62021-12-15 17:25:30 -080098 # maven release requires sigul which requires centos
99 # container release requires docker
100 build-node: centos7-docker-2c-8g
101 jobs:
102 - '{project-name}-gerrit-release-jobs'
Mahesh Jethanandani1875ce62022-01-18 16:58:11 -0800103
104- project:
105 <<: *ves_docker_common
106 name: smo-ves-sonarqube
107 python-version: python3
108 # the install script assumes an ubuntu image
109 build-node: ubuntu1804-builder-2c-2g
110 # pre-build-script: !include-raw-escape:
111 # - ../shell/install-deb-rmr.sh
112 sonar-project-file: ""
113 sonar-properties: |
114 sonar.login={sonarcloud_api_token}
115 sonar.projectKey={sonarcloud_project_organization}_{project-name}
116 sonar.projectName={project-name}
117 sonar.organization={sonarcloud_project_organization}
118 sonar.build.sourceEncoding=UTF-8
119 sonar.sources=a1
120 sonar.python.coverage.reportPaths=coverage.xml
121 jobs:
122 - gerrit-tox-sonarqube