9526fa0216597d52c3d530f0292b1cc0a55a4a6f
[ci-management.git] / jjb / smo-ves / smo-ves.yaml
1 ---
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
15
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
29     project-name: '{name}'
30     # 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
44     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 - 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
88
89 - project:
90     <<: *ves_docker_common
91     name: smo-ves-release
92     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}'
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
121     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
129     name: smo-ves-sonarqube
130     python-version: python3
131     # the install script assumes an ubuntu image
132     build-node: ubuntu1804-builder-2c-2g
133     #pre-build-script: !include-raw-escape:
134     #  - ../shell/install-deb-rmr.sh
135     # impt for verify and tox etc
136     tox-envs: code,flake8
137     sonarcloud: true
138     sonar-project-file: ""
139     sonar-properties: |
140       sonar.login={sonarcloud_api_token}
141       sonar.projectKey={sonarcloud_project_organization}_{project-name}
142       sonar.projectName={project-name}
143       sonar.organization={sonarcloud_project_organization}
144       sonar.build.sourceEncoding=UTF-8
145       sonar.sources=collector
146       sonar.python.coverage.reportPaths=coverage.xml
147     jobs:
148       - gerrit-tox-sonar