blob: 1d4141408e11e6dac23ceeac8f85768e72a23da7 [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
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:
Anil Belur439502c2023-05-07 12:39:38 +100014 - gerrit-info-yaml-verify
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040015
Anil Belur439502c2023-05-07 12:39:38 +100016- _mc_common: &mc_common # values apply to all MC projects
E. Scott Daniels538bbce2019-11-12 11:05:27 -050017 name: mc-common
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040018 # git repo
19 project: ric-app/mc
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040020 # maven settings file has docker credentials
21 mvn-settings: ric-app-mc-settings
E. Scott Daniels05824be2020-08-11 14:49:56 -040022 # jenkins job name prefix
23 project-name: ric-app-mc
24 # test scripts depend on this name
25 build-dir: $WORKSPACE/.build
26 # Use ubuntu base for cmake v3
27 # Use docker variant for packagecloud ruby gem
28 build-node: ubuntu1804-docker-4c-4g
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040029
30- project:
E. Scott Daniels538bbce2019-11-12 11:05:27 -050031 <<: *mc_common
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040032 name: ric-app-mc
E. Scott Daniels538bbce2019-11-12 11:05:27 -050033 # jenkins job name prefix
Anil Belur439502c2023-05-07 12:39:38 +100034 project-name: "{name}"
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040035 # image name
Anil Belur439502c2023-05-07 12:39:38 +100036 docker-name: "o-ran-sc/{name}"
E. Scott Daniels538bbce2019-11-12 11:05:27 -050037 docker-root: mc-core
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040038 # source of docker tag
39 container-tag-method: yaml-file
Anil Belur439502c2023-05-07 12:39:38 +100040 container-tag-yaml-dir: "{docker-root}"
E. Scott Daniels538bbce2019-11-12 11:05:27 -050041 # use host network
Anil Belur439502c2023-05-07 12:39:38 +100042 docker-build-args: "--network=host"
E. Scott Daniels538bbce2019-11-12 11:05:27 -050043 gerrit_trigger_file_paths:
Anil Belur439502c2023-05-07 12:39:38 +100044 - compare-type: REG_EXP
45 pattern: "{docker-root}/.*"
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040046 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100047 - "{project-name}-gerrit-docker-jobs"
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040048 stream:
Anil Belur439502c2023-05-07 12:39:38 +100049 - master:
50 branch: master
E. Scott Daniels538bbce2019-11-12 11:05:27 -050051
52- project:
53 <<: *mc_common
54 name: ric-app-mc-listener
55 # jenkins job name prefix
Anil Belur439502c2023-05-07 12:39:38 +100056 project-name: "{name}"
E. Scott Daniels538bbce2019-11-12 11:05:27 -050057 # image name
Anil Belur439502c2023-05-07 12:39:38 +100058 docker-name: "o-ran-sc/{name}"
E. Scott Daniels538bbce2019-11-12 11:05:27 -050059 docker-root: sidecars/listener
60 # source of docker tag
61 container-tag-method: yaml-file
Anil Belur439502c2023-05-07 12:39:38 +100062 container-tag-yaml-dir: "{docker-root}"
E. Scott Daniels538bbce2019-11-12 11:05:27 -050063 # use host network
Anil Belur439502c2023-05-07 12:39:38 +100064 docker-build-args: "--network=host"
E. Scott Daniels538bbce2019-11-12 11:05:27 -050065 gerrit_trigger_file_paths:
Anil Belur439502c2023-05-07 12:39:38 +100066 - compare-type: REG_EXP
67 pattern: "{docker-root}/.*"
E. Scott Daniels538bbce2019-11-12 11:05:27 -050068 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100069 - "{project-name}-gerrit-docker-jobs"
E. Scott Daniels538bbce2019-11-12 11:05:27 -050070 stream:
Anil Belur439502c2023-05-07 12:39:38 +100071 - master:
72 branch: master
E. Scott Daniels538bbce2019-11-12 11:05:27 -050073
wrideraa7f7832019-11-19 00:45:23 -050074- project:
75 <<: *mc_common
76 name: ric-app-mc-release
77 project-name: ric-app-mc
wrideraa7f7832019-11-19 00:45:23 -050078 # maven release requires sigul which requires centos
79 # container release requires docker
80 build-node: centos7-docker-2c-8g
81 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100082 - "{project-name}-gerrit-release-jobs"
E. Scott Daniels05824be2020-08-11 14:49:56 -040083
84# drive unit tests from root CMake file to gen/analyse coverage data
85- project:
86 <<: *mc_common
87 name: ric-app-mc-sonarqube
88 project-name: ric-app-mc
89 cmake-opts: ""
90 make-opts: test ARGS=-V
91 sonar-project-file: ""
92 sonar-properties: |
Anil Belur439502c2023-05-07 12:39:38 +100093 sonar.login={sonarcloud_api_token}
94 sonar.projectKey={sonarcloud_project_organization}_{project-name}
95 sonar.projectName={project-name}
96 sonar.organization={sonarcloud_project_organization}
97 sonar.build.sourceEncoding=UTF-8
98 sonar.sources=sidecars/listener/src,mc-core/mc/mcnib
99 sonar.cfamily.build-wrapper-output=$WORKSPACE/bw-output
100 sonar.cfamily.gcov.reportsPath=/tmp/gcov_rpts
101 sonar.cfamily.threads=2
E. Scott Daniels05824be2020-08-11 14:49:56 -0400102 jobs:
103 - gerrit-cmake-sonarqube