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