Lott, Christopher (cl778h) | 8d98e3c | 2019-07-10 16:10:45 -0400 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: ric-app-mc-project-view |
| 4 | project-name: ric-app-mc |
| 5 | views: |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 6 | - project-view |
Lott, Christopher (cl778h) | 8d98e3c | 2019-07-10 16:10:45 -0400 | [diff] [blame] | 7 | |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 8 | - _mc_common: &mc_common # values apply to all MC projects |
E. Scott Daniels | 538bbce | 2019-11-12 11:05:27 -0500 | [diff] [blame] | 9 | name: mc-common |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 10 | # git repo |
| 11 | project: ric-app/mc |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 12 | # maven settings file has docker credentials |
| 13 | mvn-settings: ric-app-mc-settings |
E. Scott Daniels | 05824be | 2020-08-11 14:49:56 -0400 | [diff] [blame] | 14 | # 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) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 21 | |
| 22 | - project: |
E. Scott Daniels | 538bbce | 2019-11-12 11:05:27 -0500 | [diff] [blame] | 23 | <<: *mc_common |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 24 | name: ric-app-mc |
E. Scott Daniels | 538bbce | 2019-11-12 11:05:27 -0500 | [diff] [blame] | 25 | # jenkins job name prefix |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 26 | project-name: "{name}" |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 27 | # image name |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 28 | docker-name: "o-ran-sc/{name}" |
E. Scott Daniels | 538bbce | 2019-11-12 11:05:27 -0500 | [diff] [blame] | 29 | docker-root: mc-core |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 30 | # source of docker tag |
| 31 | container-tag-method: yaml-file |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 32 | container-tag-yaml-dir: "{docker-root}" |
E. Scott Daniels | 538bbce | 2019-11-12 11:05:27 -0500 | [diff] [blame] | 33 | # use host network |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 34 | docker-build-args: "--network=host" |
E. Scott Daniels | 538bbce | 2019-11-12 11:05:27 -0500 | [diff] [blame] | 35 | gerrit_trigger_file_paths: |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 36 | - compare-type: REG_EXP |
| 37 | pattern: "{docker-root}/.*" |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 38 | jobs: |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 39 | - "{project-name}-gerrit-docker-jobs" |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 40 | stream: |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 41 | - master: |
| 42 | branch: master |
E. Scott Daniels | 538bbce | 2019-11-12 11:05:27 -0500 | [diff] [blame] | 43 | |
| 44 | - project: |
| 45 | <<: *mc_common |
| 46 | name: ric-app-mc-listener |
| 47 | # jenkins job name prefix |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 48 | project-name: "{name}" |
E. Scott Daniels | 538bbce | 2019-11-12 11:05:27 -0500 | [diff] [blame] | 49 | # image name |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 50 | docker-name: "o-ran-sc/{name}" |
E. Scott Daniels | 538bbce | 2019-11-12 11:05:27 -0500 | [diff] [blame] | 51 | docker-root: sidecars/listener |
| 52 | # source of docker tag |
| 53 | container-tag-method: yaml-file |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 54 | container-tag-yaml-dir: "{docker-root}" |
E. Scott Daniels | 538bbce | 2019-11-12 11:05:27 -0500 | [diff] [blame] | 55 | # use host network |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 56 | docker-build-args: "--network=host" |
E. Scott Daniels | 538bbce | 2019-11-12 11:05:27 -0500 | [diff] [blame] | 57 | gerrit_trigger_file_paths: |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 58 | - compare-type: REG_EXP |
| 59 | pattern: "{docker-root}/.*" |
E. Scott Daniels | 538bbce | 2019-11-12 11:05:27 -0500 | [diff] [blame] | 60 | jobs: |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 61 | - "{project-name}-gerrit-docker-jobs" |
E. Scott Daniels | 538bbce | 2019-11-12 11:05:27 -0500 | [diff] [blame] | 62 | stream: |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 63 | - master: |
| 64 | branch: master |
E. Scott Daniels | 538bbce | 2019-11-12 11:05:27 -0500 | [diff] [blame] | 65 | |
wrider | aa7f783 | 2019-11-19 00:45:23 -0500 | [diff] [blame] | 66 | - project: |
| 67 | <<: *mc_common |
| 68 | name: ric-app-mc-release |
| 69 | project-name: ric-app-mc |
wrider | aa7f783 | 2019-11-19 00:45:23 -0500 | [diff] [blame] | 70 | # maven release requires sigul which requires centos |
| 71 | # container release requires docker |
| 72 | build-node: centos7-docker-2c-8g |
| 73 | jobs: |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 74 | - "{project-name}-gerrit-release-jobs" |
E. Scott Daniels | 05824be | 2020-08-11 14:49:56 -0400 | [diff] [blame] | 75 | |
| 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 Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 85 | 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 Daniels | 05824be | 2020-08-11 14:49:56 -0400 | [diff] [blame] | 94 | jobs: |
| 95 | - gerrit-cmake-sonarqube |