8c6bc5ab96cfd8999fad5b2efefca34f43bed5c6
[ci-management.git] / nonrtric-plt-dmaapmediatorproducer.yaml
1 ---
2 - project:
3     name: nonrtric-plt-dmaapmediatorproducer-project-view
4     project-name: nonrtric-plt-dmaapmediatorproducer
5     views:
6       - project-view
7
8 - project:
9     name: nonrtric-plt-dmaapmediatorproducer-info
10     project: nonrtric/plt/dmaapmediatorproducer
11     project-name: nonrtric-plt-dmaapmediatorproducer
12     build-node: centos7-builder-1c-1g
13     jobs:
14       - gerrit-info-yaml-verify
15
16 - dmaapmediatorproducer_common: &dmaapmediatorproducer_common
17     name: dmaapmediatorproducer-common
18     # git repo
19     project: nonrtric/plt/dmaapmediatorproducer
20     # jenkins job name prefix
21     project-name: nonrtric-plt-dmaapmediatorproducer
22     # maven settings file has docker credentials
23     mvn-settings: nonrtric-plt-dmaapmediatorproducer-settings
24
25 - project:
26     <<: *dmaapmediatorproducer_common
27     name: nonrtric-plt-dmaapmediatorproducer-release
28     # maven release requires sigul which requires centos
29     # container release requires docker
30     build-node: centos7-docker-2c-8g
31     jobs:
32       - '{project-name}-gerrit-release-jobs'
33
34 - project:
35     <<: *dmaapmediatorproducer_common
36     name: nonrtric-plt-dmaapmediatorproducer
37     project-name: '{name}'
38     # image name
39     docker-name: 'o-ran-sc/nonrtric-plt-dmaapmediatorproducer'
40     # get tag from YAML
41     container-tag-method: yaml-file
42     # use host network to clone from our gerrit
43     docker-build-args: '--network=host'
44     # Directory with Dockerfile
45     docker-root: '.'
46     # Directory where go test should be run
47     go-root: '.'
48     build-node: ubuntu1804-docker-4c-4g
49     # Includes verify and merge jobs
50     jobs:
51       - "{project-name}-gerrit-docker-jobs"
52       - gerrit-go-verify
53       - gerrit-maven-docker-stage
54     stream:
55       - master:
56           branch: master
57       - f-release:
58           branch: f-release
59
60 - project:
61     <<: *dmaapmediatorproducer_common
62     name: nonrtric-plt-dmaapmediatorproducer-sonar
63     project-name: nonrtric-plt-dmaapmediatorproducer
64     # prescan script requires ubuntu
65     # golang is only on docker-enabled nodes
66     build-node: ubuntu1804-docker-4c-4g
67     sonar-prescan-script: !include-raw-escape: prescan-dmaapmediatorproducer-ubuntu.sh
68     sonar-project-file: ""
69     java-version: openjdk11
70     # use sonarcloud values from defaults.yaml
71     sonar-properties: !include-raw: sonar-project.properties
72     jobs:
73       - gerrit-sonar-prescan-script