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