blob: 11c2d6aa6c9b2a37ba9b59e939d86b3432398651 [file] [log] [blame]
Aric Gardner5c0c59e2019-11-08 19:18:16 +00001---
2- project:
Alok Bhattc9f42a42020-10-23 09:11:07 +00003 name: ric-plt-streaming-protobufs-project-view
4 project-name: ric-plt-streaming-protobufs
5 views:
6 - project-view
7
8- project:
Aric Gardner5c0c59e2019-11-08 19:18:16 +00009 name: ric-plt-streaming-protobufs-info
10 project-name: ric-plt-streaming-protobufs
Aric Gardnerda252d22019-10-11 16:10:03 -040011 project: ric-plt/streaming-protobufs
12 build-node: centos7-builder-1c-1g
Aric Gardner5c0c59e2019-11-08 19:18:16 +000013 jobs:
14 - gerrit-info-yaml-verify
Alok Bhattc9f42a42020-10-23 09:11:07 +000015
16- streaming-protobufs_docker_common: &streaming-protobufs_docker_common
17 # values apply to all streaming-protobufs docker projects
18 name: streaming-protobufs-docker-common
19 # git repo
20 project: ric-plt/streaming-protobufs
21 # jenkins job name prefix
22 project-name: ric-plt-streaming-protobufs
23 # maven settings file has docker credentials
24 mvn-settings: ric-plt-streaming-protobufs-settings
25
26# runs unit tests on verify only
27- project:
28 <<: *streaming-protobufs_docker_common
29 name: ric-plt-streaming-protobufs
30 # image name, altho it is never pushed
31 docker-name: '{name}'
32 # use host network
33 docker-build-args: '--network=host -f ci/Dockerfile'
34 # image tag; use a fixed value
35 container-tag-method: latest
36 jobs:
37 - gerrit-docker-verify
38 stream:
39 - master:
40 branch: master
41- project:
42 <<: *streaming-protobufs_docker_common
43 name: ric-plt-streaming-protobufs-go-sonarqube
44 # docker-enabled nodes have golang
45 # build script needs ubuntu
46 build-node: ubuntu1804-docker-4c-4g
47 sonar-prescan-script: !include-raw-escape: prescan-ric-plt-streaming-protobufs-ubuntu.sh
48 sonar-project-file: ""
49 # use sonarcloud values from defaults.yaml
50 sonar-properties: |
51 # Required metadata
52 sonar.login={sonarcloud_api_token}
53 sonar.projectKey={sonarcloud_project_organization}_{project-name}
54 sonar.projectName={project-name}
55 sonar.organization={sonarcloud_project_organization}
56 # Encoding
57 sonar.build.sourceEncoding=UTF-8
58 # Language
59 sonar.language=go
60 # Source
61 sonar.sources=.
62 # Unit tests
63 sonar.go.coverage.reportPaths=**/cover.out
64 # Inclusions
65 sonar.inclusions=**/*.go
66 # Exclusions
67 sonar.exclusions=**/*_test.go
68 jobs:
69 - gerrit-sonar-prescan-script
70
71- project:
72 <<: *streaming-protobufs_docker_common
73 name: ric-plt-streaming-protobufs-release
74 # maven release requires sigul which requires centos
75 # container release requires docker
76 build-node: centos7-docker-2c-8g
77 jobs:
78 - '{project-name}-gerrit-release-jobs'
79