blob: 73e313a2a5102aa88d93fe0a1403d99ebef456c6 [file] [log] [blame]
Lott, Christopher (cl778h)0d28db12019-06-05 11:41:33 -04001---
2- project:
3 name: ric-plt-dbaas-project-view
4 project-name: ric-plt-dbaas
5 views:
6 - project-view
7
Anil Belur439502c2023-05-07 12:39:38 +10008- _dbaas_docker_common:
9 &dbaas_docker_common # values apply to all dbaas docker projects
Alok Bhatt6c0c6d32020-11-30 14:15:57 +000010 name: dbaas-docker-common
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040011 # git repo
12 project: ric-plt/dbaas
13 # jenkins job name prefix
14 project-name: ric-plt-dbaas
Alok Bhatt6c0c6d32020-11-30 14:15:57 +000015 # maven settings file has docker credentials
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040016 mvn-settings: ric-plt-dbaas-settings
17
18- project:
Alok Bhatt6c0c6d32020-11-30 14:15:57 +000019 <<: *dbaas_docker_common
20 name: ric-plt-dbaas
21 # image name
Anil Belur439502c2023-05-07 12:39:38 +100022 docker-name: "o-ran-sc/{name}"
Alok Bhatt6c0c6d32020-11-30 14:15:57 +000023 # Specify docker file and host network
Anil Belur439502c2023-05-07 12:39:38 +100024 docker-build-args: "--network=host -f docker/Dockerfile.redis"
Alok Bhatt6c0c6d32020-11-30 14:15:57 +000025 # source of docker tag
26 container-tag-method: yaml-file
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040027 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100028 - "{project-name}-gerrit-docker-jobs"
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040029 stream:
30 - master:
31 branch: master
wrider5bf12752019-11-19 01:00:23 -050032
Alok Bhatt6c0c6d32020-11-30 14:15:57 +000033- 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
wrider5bf12752019-11-19 01:00:23 -050039 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100040 - "{project-name}-gerrit-release-jobs"
Alok Bhattf10e1692020-11-13 22:35:49 +000041# analyze C code and test coverage
42- project:
Alok Bhatt6c0c6d32020-11-30 14:15:57 +000043 <<: *dbaas_docker_common
Alok Bhattf10e1692020-11-13 22:35:49 +000044 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 Belur439502c2023-05-07 12:39:38 +100053 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 Bhattf10e1692020-11-13 22:35:49 +000063 jobs:
64 - gerrit-autotools-sonarqube