blob: 2bd86bcbc6e48d6b3acf2e4399ea4b90990240f9 [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:
Anil Belur439502c2023-05-07 12:39:38 +10006 - project-view
Lott, Christopher (cl778h)8d98e3c2019-07-10 16:10:45 -04007
Anil Belur439502c2023-05-07 12:39:38 +10008- _mc_common: &mc_common # values apply to all MC projects
E. Scott Daniels538bbce2019-11-12 11:05:27 -05009 name: mc-common
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040010 # git repo
11 project: ric-app/mc
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040012 # maven settings file has docker credentials
13 mvn-settings: ric-app-mc-settings
E. Scott Daniels05824be2020-08-11 14:49:56 -040014 # jenkins job name prefix
15 project-name: ric-app-mc
16 # test scripts depend on this name
17 build-dir: $WORKSPACE/.build
18 # Use ubuntu base for cmake v3
19 # Use docker variant for packagecloud ruby gem
20 build-node: ubuntu1804-docker-4c-4g
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040021
22- project:
E. Scott Daniels538bbce2019-11-12 11:05:27 -050023 <<: *mc_common
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040024 name: ric-app-mc
E. Scott Daniels538bbce2019-11-12 11:05:27 -050025 # jenkins job name prefix
Anil Belur439502c2023-05-07 12:39:38 +100026 project-name: "{name}"
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040027 # image name
Anil Belur439502c2023-05-07 12:39:38 +100028 docker-name: "o-ran-sc/{name}"
E. Scott Daniels538bbce2019-11-12 11:05:27 -050029 docker-root: mc-core
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040030 # source of docker tag
31 container-tag-method: yaml-file
Anil Belur439502c2023-05-07 12:39:38 +100032 container-tag-yaml-dir: "{docker-root}"
E. Scott Daniels538bbce2019-11-12 11:05:27 -050033 # use host network
Anil Belur439502c2023-05-07 12:39:38 +100034 docker-build-args: "--network=host"
E. Scott Daniels538bbce2019-11-12 11:05:27 -050035 gerrit_trigger_file_paths:
Anil Belur439502c2023-05-07 12:39:38 +100036 - compare-type: REG_EXP
37 pattern: "{docker-root}/.*"
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040038 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100039 - "{project-name}-gerrit-docker-jobs"
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040040 stream:
Anil Belur439502c2023-05-07 12:39:38 +100041 - master:
42 branch: master
E. Scott Daniels538bbce2019-11-12 11:05:27 -050043
44- project:
45 <<: *mc_common
46 name: ric-app-mc-listener
47 # jenkins job name prefix
Anil Belur439502c2023-05-07 12:39:38 +100048 project-name: "{name}"
E. Scott Daniels538bbce2019-11-12 11:05:27 -050049 # image name
Anil Belur439502c2023-05-07 12:39:38 +100050 docker-name: "o-ran-sc/{name}"
E. Scott Daniels538bbce2019-11-12 11:05:27 -050051 docker-root: sidecars/listener
52 # source of docker tag
53 container-tag-method: yaml-file
Anil Belur439502c2023-05-07 12:39:38 +100054 container-tag-yaml-dir: "{docker-root}"
E. Scott Daniels538bbce2019-11-12 11:05:27 -050055 # use host network
Anil Belur439502c2023-05-07 12:39:38 +100056 docker-build-args: "--network=host"
E. Scott Daniels538bbce2019-11-12 11:05:27 -050057 gerrit_trigger_file_paths:
Anil Belur439502c2023-05-07 12:39:38 +100058 - compare-type: REG_EXP
59 pattern: "{docker-root}/.*"
E. Scott Daniels538bbce2019-11-12 11:05:27 -050060 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100061 - "{project-name}-gerrit-docker-jobs"
E. Scott Daniels538bbce2019-11-12 11:05:27 -050062 stream:
Anil Belur439502c2023-05-07 12:39:38 +100063 - master:
64 branch: master
E. Scott Daniels538bbce2019-11-12 11:05:27 -050065
wrideraa7f7832019-11-19 00:45:23 -050066- project:
67 <<: *mc_common
68 name: ric-app-mc-release
69 project-name: ric-app-mc
wrideraa7f7832019-11-19 00:45:23 -050070 # maven release requires sigul which requires centos
71 # container release requires docker
72 build-node: centos7-docker-2c-8g
73 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100074 - "{project-name}-gerrit-release-jobs"
E. Scott Daniels05824be2020-08-11 14:49:56 -040075
76# drive unit tests from root CMake file to gen/analyse coverage data
77- project:
78 <<: *mc_common
79 name: ric-app-mc-sonarqube
80 project-name: ric-app-mc
81 cmake-opts: ""
82 make-opts: test ARGS=-V
83 sonar-project-file: ""
84 sonar-properties: |
Anil Belur439502c2023-05-07 12:39:38 +100085 sonar.login={sonarcloud_api_token}
86 sonar.projectKey={sonarcloud_project_organization}_{project-name}
87 sonar.projectName={project-name}
88 sonar.organization={sonarcloud_project_organization}
89 sonar.build.sourceEncoding=UTF-8
90 sonar.sources=sidecars/listener/src,mc-core/mc/mcnib
91 sonar.cfamily.build-wrapper-output=$WORKSPACE/bw-output
92 sonar.cfamily.gcov.reportsPath=/tmp/gcov_rpts
93 sonar.cfamily.threads=2
E. Scott Daniels05824be2020-08-11 14:49:56 -040094 jobs:
95 - gerrit-cmake-sonarqube