blob: a42b5ac0ecf9d53fe7de526b44db1be06c68b8a7 [file] [log] [blame]
Lott, Christopher (cl778h)8d98e3c2019-07-10 16:10:45 -04001---
2- project:
3 name: ric-app-mc-project-view
4 project-name: ric-app-mc
5 views:
E. Scott Daniels538bbce2019-11-12 11:05:27 -05006 - project-view
Lott, Christopher (cl778h)8d98e3c2019-07-10 16:10:45 -04007
Lott, Christopher (cl778h)8d98e3c2019-07-10 16:10:45 -04008- project:
9 name: ric-app-mc-info
10 project: ric-app/mc
11 project-name: ric-app-mc
12 build-node: centos7-builder-1c-1g
13 jobs:
E. Scott Daniels538bbce2019-11-12 11:05:27 -050014 - gerrit-info-yaml-verify
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040015
E. Scott Daniels538bbce2019-11-12 11:05:27 -050016- mc_common: &mc_common
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040017 # values apply to all MC projects
E. Scott Daniels538bbce2019-11-12 11:05:27 -050018 name: mc-common
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040019 # git repo
20 project: ric-app/mc
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040021 # maven settings file has docker credentials
22 mvn-settings: ric-app-mc-settings
E. Scott Daniels05824be2020-08-11 14:49:56 -040023 # jenkins job name prefix
24 project-name: ric-app-mc
25 # test scripts depend on this name
26 build-dir: $WORKSPACE/.build
27 # Use ubuntu base for cmake v3
28 # Use docker variant for packagecloud ruby gem
29 build-node: ubuntu1804-docker-4c-4g
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040030
31- project:
E. Scott Daniels538bbce2019-11-12 11:05:27 -050032 <<: *mc_common
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040033 name: ric-app-mc
E. Scott Daniels538bbce2019-11-12 11:05:27 -050034 # jenkins job name prefix
35 project-name: '{name}'
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040036 # image name
wrideraa7f7832019-11-19 00:45:23 -050037 docker-name: 'o-ran-sc/{name}'
E. Scott Daniels538bbce2019-11-12 11:05:27 -050038 docker-root: mc-core
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040039 # source of docker tag
40 container-tag-method: yaml-file
E. Scott Daniels538bbce2019-11-12 11:05:27 -050041 container-tag-yaml-dir: '{docker-root}'
42 # use host network
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040043 docker-build-args: '--network=host'
E. Scott Daniels538bbce2019-11-12 11:05:27 -050044 gerrit_trigger_file_paths:
45 - compare-type: REG_EXP
46 pattern: '{docker-root}/.*'
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040047 jobs:
E. Scott Daniels538bbce2019-11-12 11:05:27 -050048 - '{project-name}-gerrit-docker-jobs'
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040049 stream:
E. Scott Daniels538bbce2019-11-12 11:05:27 -050050 - master:
51 branch: master
52
53- project:
54 <<: *mc_common
55 name: ric-app-mc-listener
56 # jenkins job name prefix
57 project-name: '{name}'
58 # image name
wrideraa7f7832019-11-19 00:45:23 -050059 docker-name: 'o-ran-sc/{name}'
E. Scott Daniels538bbce2019-11-12 11:05:27 -050060 docker-root: sidecars/listener
61 # source of docker tag
62 container-tag-method: yaml-file
63 container-tag-yaml-dir: '{docker-root}'
64 # use host network
65 docker-build-args: '--network=host'
66 gerrit_trigger_file_paths:
67 - compare-type: REG_EXP
68 pattern: '{docker-root}/.*'
69 jobs:
70 - '{project-name}-gerrit-docker-jobs'
71 stream:
72 - master:
73 branch: master
74
wrideraa7f7832019-11-19 00:45:23 -050075- project:
76 <<: *mc_common
77 name: ric-app-mc-release
78 project-name: ric-app-mc
wrideraa7f7832019-11-19 00:45:23 -050079 # maven release requires sigul which requires centos
80 # container release requires docker
81 build-node: centos7-docker-2c-8g
82 jobs:
83 - '{project-name}-gerrit-release-jobs'
E. Scott Daniels05824be2020-08-11 14:49:56 -040084
85# drive unit tests from root CMake file to gen/analyse coverage data
86- project:
87 <<: *mc_common
88 name: ric-app-mc-sonarqube
89 project-name: ric-app-mc
90 cmake-opts: ""
91 make-opts: test ARGS=-V
92 sonar-project-file: ""
93 sonar-properties: |
94 sonar.login={sonarcloud_api_token}
95 sonar.projectKey={sonarcloud_project_organization}_{project-name}
96 sonar.projectName={project-name}
97 sonar.organization={sonarcloud_project_organization}
98 sonar.build.sourceEncoding=UTF-8
E. Scott Daniels4470cef2020-09-02 14:49:46 -040099 sonar.sources=sidecars/listener/src,mc-core/mc/mcnib
E. Scott Daniels05824be2020-08-11 14:49:56 -0400100 sonar.cfamily.build-wrapper-output=$WORKSPACE/bw-output
E. Scott Daniels4470cef2020-09-02 14:49:46 -0400101 sonar.cfamily.gcov.reportsPath=/tmp/gcov_rpts
E. Scott Daniels05824be2020-08-11 14:49:56 -0400102 sonar.cfamily.threads=2
103 jobs:
104 - gerrit-cmake-sonarqube