blob: 4af3a4745b49f8c0fe1b319a958781c52931ab56 [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
Andrew Grimberg92a75372019-06-11 13:37:00 -07008- 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 Grimberg92a75372019-06-11 13:37:00 -070013 jobs:
14 - gerrit-info-yaml-verify
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040015
Alok Bhatt6c0c6d32020-11-30 14:15:57 +000016- dbaas_docker_common: &dbaas_docker_common
17 # values apply to all dbaas docker projects
18 name: dbaas-docker-common
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040019 # git repo
20 project: ric-plt/dbaas
21 # jenkins job name prefix
22 project-name: ric-plt-dbaas
Alok Bhatt6c0c6d32020-11-30 14:15:57 +000023 # maven settings file has docker credentials
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040024 mvn-settings: ric-plt-dbaas-settings
25
26- project:
Alok Bhatt6c0c6d32020-11-30 14:15:57 +000027 <<: *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)3f5f89b2019-08-05 10:25:58 -040035 jobs:
Alok Bhatt6c0c6d32020-11-30 14:15:57 +000036 - '{project-name}-gerrit-docker-jobs'
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040037 stream:
38 - master:
39 branch: master
wrider5bf12752019-11-19 01:00:23 -050040
Alok Bhatt6c0c6d32020-11-30 14:15:57 +000041- 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
wrider5bf12752019-11-19 01:00:23 -050047 jobs:
Alok Bhatt6c0c6d32020-11-30 14:15:57 +000048 - '{project-name}-gerrit-release-jobs'
Alok Bhattf10e1692020-11-13 22:35:49 +000049# analyze C code and test coverage
50- project:
Alok Bhatt6c0c6d32020-11-30 14:15:57 +000051 <<: *dbaas_docker_common
Alok Bhattf10e1692020-11-13 22:35:49 +000052 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