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