Lott, Christopher (cl778h) | e612727 | 2019-07-05 13:15:36 -0400 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: ric-plt-submgr-project-view |
| 4 | project-name: ric-plt-submgr |
| 5 | views: |
| 6 | - project-view |
| 7 | |
Lott, Christopher (cl778h) | e612727 | 2019-07-05 13:15:36 -0400 | [diff] [blame] | 8 | - 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) | e612727 | 2019-07-05 13:15:36 -0400 | [diff] [blame] | 13 | jobs: |
| 14 | - gerrit-info-yaml-verify |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 15 | |
| 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 |
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 |
Alok Bhatt | d6edb83 | 2020-10-24 07:57:36 +0000 | [diff] [blame] | 40 | - 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 |
wrider | 5bf1275 | 2019-11-19 01:00:23 -0500 | [diff] [blame] | 69 | |
| 70 | - project: |
| 71 | <<: *submgr_docker_common |
| 72 | name: ric-plt-submgr-release |
wrider | 5bf1275 | 2019-11-19 01:00:23 -0500 | [diff] [blame] | 73 | # 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 Bhatt | d6edb83 | 2020-10-24 07:57:36 +0000 | [diff] [blame] | 78 | |