Lott, Christopher (cl778h) | f8dcec8 | 2019-06-05 15:57:30 -0400 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: ric-plt-rtmgr-project-view |
| 4 | project-name: ric-plt-rtmgr |
| 5 | views: |
| 6 | - project-view |
| 7 | |
Andrew Grimberg | a105a19 | 2019-06-11 13:42:38 -0700 | [diff] [blame] | 8 | - 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 Grimberg | a105a19 | 2019-06-11 13:42:38 -0700 | [diff] [blame] | 13 | jobs: |
| 14 | - gerrit-info-yaml-verify |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 15 | |
| 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 |
wrider | 5bf1275 | 2019-11-19 01:00:23 -0500 | [diff] [blame] | 30 | docker-name: 'o-ran-sc/{name}' |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 31 | # 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 |
wrider | 5bf1275 | 2019-11-19 01:00:23 -0500 | [diff] [blame] | 40 | |
| 41 | - project: |
| 42 | <<: *rtmgr_docker_common |
| 43 | name: ric-plt-rtmgr-release |
wrider | 5bf1275 | 2019-11-19 01:00:23 -0500 | [diff] [blame] | 44 | # 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' |
wahidw | a357a76 | 2020-04-07 13:58:27 +0530 | [diff] [blame] | 49 | |
| 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 | |