blob: d9589972aba5255ad1f24c7bdb3ed62e29fd867d [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
wrider5bf12752019-11-19 01:00:23 -050044 # maven release requires sigul which requires centos
45 # container release requires docker
46 build-node: centos7-docker-2c-8g
47 jobs:
48 - '{project-name}-gerrit-release-jobs'
wahidwa357a762020-04-07 13:58:27 +053049
50- project:
51 <<: *rtmgr_docker_common
52 name: ric-plt-rtmgr-sonar
53 # prescan script requires ubuntu
54 # golang is only on docker-enabled nodes
55 build-node: ubuntu1804-docker-4c-4g
56 sonar-prescan-script: !include-raw-escape: prescan-rtmgr-ubuntu.sh
57 sonar-project-file: ""
58 # use sonarcloud values from defaults.yaml
59 sonar-properties: |
60 # Required metadata
61 sonar.login={sonarcloud_api_token}
62 sonar.projectKey={sonarcloud_project_organization}_{project-name}
63 sonar.projectName={project-name}
64 sonar.organization={sonarcloud_project_organization}
65 # Encoding
66 sonar.build.sourceEncoding=UTF-8
67 # Language
68 sonar.language=go
69 # Source
70 sonar.sources=.
71 # Unit tests
72 sonar.go.coverage.reportPaths=./coverage.txt
73 # Inclusions
74 sonar.inclusions=pkg/**/**.go
75 # Exclusions
76 sonar.exclusions=cmd/**.go,pkg/stub/**.go,pkg/**/**_test.go
77 jobs:
78 - gerrit-sonar-prescan-script
79