blob: f6605e9dcab4e14b5d39c813a2fe3951de01ae21 [file] [log] [blame]
Lott, Christopher (cl778h)e6127272019-07-05 13:15:36 -04001---
2- project:
3 name: ric-plt-submgr-project-view
4 project-name: ric-plt-submgr
5 views:
6 - project-view
7
Lott, Christopher (cl778h)e6127272019-07-05 13:15:36 -04008- project:
9 name: ric-plt-submgr-info
10 project: ric-plt/submgr
11 project-name: ric-plt-submgr
12 build-node: centos7-builder-1c-1g
Lott, Christopher (cl778h)e6127272019-07-05 13:15:36 -040013 jobs:
14 - gerrit-info-yaml-verify
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040015
16- submgr_docker_common: &submgr_docker_common
17 # values apply to all submgr docker projects
18 name: submgr-docker-common
19 # git repo
20 project: ric-plt/submgr
21 # jenkins job name prefix
22 project-name: ric-plt-submgr
23 # maven settings file has docker credentials
24 mvn-settings: ric-plt-submgr-settings
25
26- project:
27 <<: *submgr_docker_common
28 name: ric-plt-submgr
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
Alok Bhattd6edb832020-10-24 07:57:36 +000040- project:
41 <<: *submgr_docker_common
42 name: ric-plt-submgr-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-submgr-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 <<: *submgr_docker_common
72 name: ric-plt-submgr-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 Bhattd6edb832020-10-24 07:57:36 +000078