blob: 6ac213a14dad71fd905cd6a832a61ab349c62cea [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
Anil Belur439502c2023-05-07 12:39:38 +10008- _vespamgr_docker_common:
9 &vespamgr_docker_common # values apply to all vespamgr docker projects
Lott, Christopher (cl778h)b5b9c112019-08-15 08:14:35 -040010 name: vespamgr-docker-common
11 # git repo
12 project: ric-plt/vespamgr
13 # jenkins job name prefix
14 project-name: ric-plt-vespamgr
15 # maven settings file has docker credentials
16 mvn-settings: ric-plt-vespamgr-settings
17
18- project:
19 <<: *vespamgr_docker_common
20 name: ric-plt-vespamgr
21 # image name
Anil Belur439502c2023-05-07 12:39:38 +100022 docker-name: "o-ran-sc/{name}"
Lott, Christopher (cl778h)b5b9c112019-08-15 08:14:35 -040023 # source of docker tag
24 container-tag-method: yaml-file
25 # use host network
Anil Belur439502c2023-05-07 12:39:38 +100026 docker-build-args: "--network=host"
Lott, Christopher (cl778h)b5b9c112019-08-15 08:14:35 -040027 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100028 - "{project-name}-gerrit-docker-jobs"
Lott, Christopher (cl778h)b5b9c112019-08-15 08:14:35 -040029 stream:
30 - master:
31 branch: master
Alok Bhatt677f4fe2020-10-16 05:27:57 +000032- project:
33 <<: *vespamgr_docker_common
34 name: ric-plt-vespamgr-go-sonarqube
35 # docker-enabled nodes have golang
36 # build script needs ubuntu
37 build-node: ubuntu1804-docker-4c-4g
38 sonar-prescan-script: !include-raw-escape: prescan-ric-plt-vespamgr-ubuntu.sh
39 sonar-project-file: ""
40 # use sonarcloud values from defaults.yaml
41 sonar-properties: |
Anil Belur439502c2023-05-07 12:39:38 +100042 # Required metadata
43 sonar.login={sonarcloud_api_token}
44 sonar.projectKey={sonarcloud_project_organization}_{project-name}
45 sonar.projectName={project-name}
46 sonar.organization={sonarcloud_project_organization}
47 # Encoding
48 sonar.build.sourceEncoding=UTF-8
49 # Language
50 sonar.language=go
51 # Source
52 sonar.sources=.
53 # Unit tests
54 sonar.go.coverage.reportPaths=**/cover.out
55 # Inclusions
56 sonar.inclusions=**/*.go
57 # Exclusions
58 sonar.exclusions=**/*_test.go
Alok Bhatt677f4fe2020-10-16 05:27:57 +000059 jobs:
60 - gerrit-sonar-prescan-script
wrider5bf12752019-11-19 01:00:23 -050061
62- project:
63 <<: *vespamgr_docker_common
64 name: ric-plt-vespamgr-release
wrider5bf12752019-11-19 01:00:23 -050065 # maven release requires sigul which requires centos
66 # container release requires docker
67 build-node: centos7-docker-2c-8g
68 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100069 - "{project-name}-gerrit-release-jobs"