blob: 5c9bb2ef1cacffbf61ae607da55fbd376717933b [file] [log] [blame]
Lott, Christopher (cl778h)b5b9c112019-08-15 08:14:35 -04001---
2- project:
3 name: ric-plt-vespamgr-project-view
4 project-name: ric-plt-vespamgr
5 views:
6 - project-view
7
8- project:
9 name: ric-plt-vespamgr-info
10 project: ric-plt/vespamgr
11 project-name: ric-plt-vespamgr
12 build-node: centos7-builder-1c-1g
13 jobs:
14 - gerrit-info-yaml-verify
15
16- vespamgr_docker_common: &vespamgr_docker_common
17 # values apply to all vespamgr docker projects
18 name: vespamgr-docker-common
19 # git repo
20 project: ric-plt/vespamgr
21 # jenkins job name prefix
22 project-name: ric-plt-vespamgr
23 # maven settings file has docker credentials
24 mvn-settings: ric-plt-vespamgr-settings
25
26- project:
27 <<: *vespamgr_docker_common
28 name: ric-plt-vespamgr
29 # image name
wrider5bf12752019-11-19 01:00:23 -050030 docker-name: 'o-ran-sc/{name}'
Lott, Christopher (cl778h)b5b9c112019-08-15 08:14:35 -040031 # source of docker tag
32 container-tag-method: yaml-file
33 # use host network
34 docker-build-args: '--network=host'
35 jobs:
36 - '{project-name}-gerrit-docker-jobs'
37 stream:
38 - master:
39 branch: master
Alok Bhatt677f4fe2020-10-16 05:27:57 +000040- project:
41 <<: *vespamgr_docker_common
42 name: ric-plt-vespamgr-go-sonarqube
43 # docker-enabled nodes have golang
44 # build script needs ubuntu
45 build-node: ubuntu1804-docker-4c-4g
46 sonar-prescan-script: !include-raw-escape: prescan-ric-plt-vespamgr-ubuntu.sh
47 sonar-project-file: ""
48 # use sonarcloud values from defaults.yaml
49 sonar-properties: |
50 # Required metadata
51 sonar.login={sonarcloud_api_token}
52 sonar.projectKey={sonarcloud_project_organization}_{project-name}
53 sonar.projectName={project-name}
54 sonar.organization={sonarcloud_project_organization}
55 # Encoding
56 sonar.build.sourceEncoding=UTF-8
57 # Language
58 sonar.language=go
59 # Source
60 sonar.sources=.
61 # Unit tests
62 sonar.go.coverage.reportPaths=**/cover.out
63 # Inclusions
64 sonar.inclusions=**/*.go
65 # Exclusions
66 sonar.exclusions=**/*_test.go
67 jobs:
68 - gerrit-sonar-prescan-script
wrider5bf12752019-11-19 01:00:23 -050069
70- project:
71 <<: *vespamgr_docker_common
72 name: ric-plt-vespamgr-release
wrider5bf12752019-11-19 01:00:23 -050073 # maven release requires sigul which requires centos
74 # container release requires docker
75 build-node: centos7-docker-2c-8g
76 jobs:
77 - '{project-name}-gerrit-release-jobs'
Alok Bhatt677f4fe2020-10-16 05:27:57 +000078