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