Lott, Christopher (cl778h) | 0d28db1 | 2019-06-05 11:41:33 -0400 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: ric-plt-dbaas-project-view |
| 4 | project-name: ric-plt-dbaas |
| 5 | views: |
| 6 | - project-view |
| 7 | |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 8 | - _dbaas_docker_common: |
| 9 | &dbaas_docker_common # values apply to all dbaas docker projects |
Alok Bhatt | 6c0c6d3 | 2020-11-30 14:15:57 +0000 | [diff] [blame] | 10 | name: dbaas-docker-common |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 11 | # git repo |
| 12 | project: ric-plt/dbaas |
| 13 | # jenkins job name prefix |
| 14 | project-name: ric-plt-dbaas |
Alok Bhatt | 6c0c6d3 | 2020-11-30 14:15:57 +0000 | [diff] [blame] | 15 | # maven settings file has docker credentials |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 16 | mvn-settings: ric-plt-dbaas-settings |
| 17 | |
| 18 | - project: |
Alok Bhatt | 6c0c6d3 | 2020-11-30 14:15:57 +0000 | [diff] [blame] | 19 | <<: *dbaas_docker_common |
| 20 | name: ric-plt-dbaas |
| 21 | # image name |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 22 | docker-name: "o-ran-sc/{name}" |
Alok Bhatt | 6c0c6d3 | 2020-11-30 14:15:57 +0000 | [diff] [blame] | 23 | # Specify docker file and host network |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 24 | docker-build-args: "--network=host -f docker/Dockerfile.redis" |
Alok Bhatt | 6c0c6d3 | 2020-11-30 14:15:57 +0000 | [diff] [blame] | 25 | # source of docker tag |
| 26 | container-tag-method: yaml-file |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -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) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 29 | stream: |
| 30 | - master: |
| 31 | branch: master |
wrider | 5bf1275 | 2019-11-19 01:00:23 -0500 | [diff] [blame] | 32 | |
Alok Bhatt | 6c0c6d3 | 2020-11-30 14:15:57 +0000 | [diff] [blame] | 33 | - project: |
| 34 | <<: *dbaas_docker_common |
| 35 | name: ric-plt-dbaas-release |
| 36 | # maven release requires sigul which requires centos |
| 37 | # container release requires docker |
| 38 | build-node: centos7-docker-2c-8g |
wrider | 5bf1275 | 2019-11-19 01:00:23 -0500 | [diff] [blame] | 39 | jobs: |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 40 | - "{project-name}-gerrit-release-jobs" |
Alok Bhatt | f10e169 | 2020-11-13 22:35:49 +0000 | [diff] [blame] | 41 | # analyze C code and test coverage |
| 42 | - project: |
Alok Bhatt | 6c0c6d3 | 2020-11-30 14:15:57 +0000 | [diff] [blame] | 43 | <<: *dbaas_docker_common |
Alok Bhatt | f10e169 | 2020-11-13 22:35:49 +0000 | [diff] [blame] | 44 | name: ric-plt-lib-dbaas-sonarqube |
| 45 | pre-build: !include-raw-escape: setup-dbaas-build-deb.sh |
| 46 | build-node: ubuntu1804-docker-4c-4g |
| 47 | # set appropriate CXXFLAGS |
| 48 | configure-opts: --build=i686-pc-linux-gnu |
| 49 | # use all cores |
| 50 | make-opts: -j4 all |
| 51 | sonar-project-file: "" |
| 52 | sonar-properties: | |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 53 | sonar.login={sonarcloud_api_token} |
| 54 | sonar.projectKey={sonarcloud_project_organization}_{project-name} |
| 55 | sonar.projectName={project-name} |
| 56 | sonar.organization={sonarcloud_project_organization} |
| 57 | sonar.build.sourceEncoding=UTF-8 |
| 58 | sonar.sources=src |
| 59 | sonar.cfamily.build-wrapper-output=$WORKSPACE/bw-output |
| 60 | sonar.cfamily.cache.enabled=false |
| 61 | sonar.cfamily.gcov.reportsPath=gcov_report |
| 62 | sonar.cfamily.threads=4 |
Alok Bhatt | f10e169 | 2020-11-13 22:35:49 +0000 | [diff] [blame] | 63 | jobs: |
| 64 | - gerrit-autotools-sonarqube |