Lott, Christopher (cl778h) | b5b9c11 | 2019-08-15 08:14:35 -0400 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: ric-plt-vespamgr-project-view |
| 4 | project-name: ric-plt-vespamgr |
| 5 | views: |
| 6 | - project-view |
| 7 | |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 8 | - _vespamgr_docker_common: |
| 9 | &vespamgr_docker_common # values apply to all vespamgr docker projects |
Lott, Christopher (cl778h) | b5b9c11 | 2019-08-15 08:14:35 -0400 | [diff] [blame] | 10 | name: vespamgr-docker-common |
| 11 | # git repo |
| 12 | project: ric-plt/vespamgr |
| 13 | # jenkins job name prefix |
| 14 | project-name: ric-plt-vespamgr |
| 15 | # maven settings file has docker credentials |
| 16 | mvn-settings: ric-plt-vespamgr-settings |
| 17 | |
| 18 | - project: |
| 19 | <<: *vespamgr_docker_common |
| 20 | name: ric-plt-vespamgr |
| 21 | # image name |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 22 | docker-name: "o-ran-sc/{name}" |
Lott, Christopher (cl778h) | b5b9c11 | 2019-08-15 08:14:35 -0400 | [diff] [blame] | 23 | # source of docker tag |
| 24 | container-tag-method: yaml-file |
| 25 | # use host network |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 26 | docker-build-args: "--network=host" |
Lott, Christopher (cl778h) | b5b9c11 | 2019-08-15 08:14:35 -0400 | [diff] [blame] | 27 | jobs: |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 28 | - "{project-name}-gerrit-docker-jobs" |
Lott, Christopher (cl778h) | b5b9c11 | 2019-08-15 08:14:35 -0400 | [diff] [blame] | 29 | stream: |
| 30 | - master: |
| 31 | branch: master |
Alok Bhatt | 677f4fe | 2020-10-16 05:27:57 +0000 | [diff] [blame] | 32 | - project: |
| 33 | <<: *vespamgr_docker_common |
| 34 | name: ric-plt-vespamgr-go-sonarqube |
| 35 | # docker-enabled nodes have golang |
| 36 | # build script needs ubuntu |
| 37 | build-node: ubuntu1804-docker-4c-4g |
| 38 | sonar-prescan-script: !include-raw-escape: prescan-ric-plt-vespamgr-ubuntu.sh |
| 39 | sonar-project-file: "" |
| 40 | # use sonarcloud values from defaults.yaml |
| 41 | sonar-properties: | |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 42 | # Required metadata |
| 43 | sonar.login={sonarcloud_api_token} |
| 44 | sonar.projectKey={sonarcloud_project_organization}_{project-name} |
| 45 | sonar.projectName={project-name} |
| 46 | sonar.organization={sonarcloud_project_organization} |
| 47 | # Encoding |
| 48 | sonar.build.sourceEncoding=UTF-8 |
| 49 | # Language |
| 50 | sonar.language=go |
| 51 | # Source |
| 52 | sonar.sources=. |
| 53 | # Unit tests |
| 54 | sonar.go.coverage.reportPaths=**/cover.out |
| 55 | # Inclusions |
| 56 | sonar.inclusions=**/*.go |
| 57 | # Exclusions |
| 58 | sonar.exclusions=**/*_test.go |
Alok Bhatt | 677f4fe | 2020-10-16 05:27:57 +0000 | [diff] [blame] | 59 | jobs: |
| 60 | - gerrit-sonar-prescan-script |
wrider | 5bf1275 | 2019-11-19 01:00:23 -0500 | [diff] [blame] | 61 | |
| 62 | - project: |
| 63 | <<: *vespamgr_docker_common |
| 64 | name: ric-plt-vespamgr-release |
wrider | 5bf1275 | 2019-11-19 01:00:23 -0500 | [diff] [blame] | 65 | # maven release requires sigul which requires centos |
| 66 | # container release requires docker |
| 67 | build-node: centos7-docker-2c-8g |
| 68 | jobs: |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 69 | - "{project-name}-gerrit-release-jobs" |