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: |
E. Scott Daniels | 538bbce | 2019-11-12 11:05:27 -0500 | [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: |
E. Scott Daniels | 538bbce | 2019-11-12 11:05:27 -0500 | [diff] [blame] | 14 | - gerrit-info-yaml-verify |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 15 | |
E. Scott Daniels | 538bbce | 2019-11-12 11:05:27 -0500 | [diff] [blame] | 16 | - mc_common: &mc_common |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 17 | # values apply to all MC projects |
E. Scott Daniels | 538bbce | 2019-11-12 11:05:27 -0500 | [diff] [blame] | 18 | name: mc-common |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 19 | # git repo |
| 20 | project: ric-app/mc |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 21 | # maven settings file has docker credentials |
| 22 | mvn-settings: ric-app-mc-settings |
E. Scott Daniels | 05824be | 2020-08-11 14:49:56 -0400 | [diff] [blame] | 23 | # 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) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 30 | |
| 31 | - project: |
E. Scott Daniels | 538bbce | 2019-11-12 11:05:27 -0500 | [diff] [blame] | 32 | <<: *mc_common |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 33 | name: ric-app-mc |
E. Scott Daniels | 538bbce | 2019-11-12 11:05:27 -0500 | [diff] [blame] | 34 | # jenkins job name prefix |
| 35 | project-name: '{name}' |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 36 | # image name |
wrider | aa7f783 | 2019-11-19 00:45:23 -0500 | [diff] [blame] | 37 | docker-name: 'o-ran-sc/{name}' |
E. Scott Daniels | 538bbce | 2019-11-12 11:05:27 -0500 | [diff] [blame] | 38 | docker-root: mc-core |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 39 | # source of docker tag |
| 40 | container-tag-method: yaml-file |
E. Scott Daniels | 538bbce | 2019-11-12 11:05:27 -0500 | [diff] [blame] | 41 | container-tag-yaml-dir: '{docker-root}' |
| 42 | # use host network |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 43 | docker-build-args: '--network=host' |
E. Scott Daniels | 538bbce | 2019-11-12 11:05:27 -0500 | [diff] [blame] | 44 | gerrit_trigger_file_paths: |
| 45 | - compare-type: REG_EXP |
| 46 | pattern: '{docker-root}/.*' |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 47 | jobs: |
E. Scott Daniels | 538bbce | 2019-11-12 11:05:27 -0500 | [diff] [blame] | 48 | - '{project-name}-gerrit-docker-jobs' |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 49 | stream: |
E. Scott Daniels | 538bbce | 2019-11-12 11:05:27 -0500 | [diff] [blame] | 50 | - 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 |
wrider | aa7f783 | 2019-11-19 00:45:23 -0500 | [diff] [blame] | 59 | docker-name: 'o-ran-sc/{name}' |
E. Scott Daniels | 538bbce | 2019-11-12 11:05:27 -0500 | [diff] [blame] | 60 | 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 | |
wrider | aa7f783 | 2019-11-19 00:45:23 -0500 | [diff] [blame] | 75 | - project: |
| 76 | <<: *mc_common |
| 77 | name: ric-app-mc-release |
| 78 | project-name: ric-app-mc |
wrider | aa7f783 | 2019-11-19 00:45:23 -0500 | [diff] [blame] | 79 | # 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 Daniels | 05824be | 2020-08-11 14:49:56 -0400 | [diff] [blame] | 84 | |
| 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 Daniels | 4470cef | 2020-09-02 14:49:46 -0400 | [diff] [blame] | 99 | sonar.sources=sidecars/listener/src,mc-core/mc/mcnib |
E. Scott Daniels | 05824be | 2020-08-11 14:49:56 -0400 | [diff] [blame] | 100 | sonar.cfamily.build-wrapper-output=$WORKSPACE/bw-output |
E. Scott Daniels | 4470cef | 2020-09-02 14:49:46 -0400 | [diff] [blame] | 101 | sonar.cfamily.gcov.reportsPath=/tmp/gcov_rpts |
E. Scott Daniels | 05824be | 2020-08-11 14:49:56 -0400 | [diff] [blame] | 102 | sonar.cfamily.threads=2 |
| 103 | jobs: |
| 104 | - gerrit-cmake-sonarqube |