Lott, Christopher (cl778h) | 896609e | 2020-04-06 22:05:32 -0400 | [diff] [blame] | 1 | # C shared library published as deb/rpm to PackageCloud.io |
Lott, Christopher (cl778h) | f14966f | 2019-06-04 10:38:14 -0400 | [diff] [blame] | 2 | --- |
| 3 | - project: |
| 4 | name: ric-plt-lib-rmr-project-view |
| 5 | project-name: ric-plt-lib-rmr |
| 6 | views: |
| 7 | - project-view |
| 8 | |
Andrew Grimberg | adf550e | 2019-06-11 13:40:50 -0700 | [diff] [blame] | 9 | - project: |
| 10 | name: ric-plt-lib-rmr-info |
| 11 | project: ric-plt/lib/rmr |
| 12 | project-name: ric-plt-lib-rmr |
| 13 | build-node: centos7-builder-1c-1g |
Andrew Grimberg | adf550e | 2019-06-11 13:40:50 -0700 | [diff] [blame] | 14 | jobs: |
| 15 | - gerrit-info-yaml-verify |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 16 | |
Lott, Christopher (cl778h) | 557b88a | 2019-09-27 06:01:54 -0400 | [diff] [blame] | 17 | - rmr_common: &rmr_common |
| 18 | name: rmr-common |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 19 | # git repo |
| 20 | project: ric-plt/lib/rmr |
Lott, Christopher (cl778h) | c8e8ea9 | 2020-03-05 08:40:19 -0500 | [diff] [blame] | 21 | # maven settings file has credentials to archive artifacts |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 22 | mvn-settings: ric-plt-lib-rmr-settings |
Lott, Christopher (cl778h) | c8e8ea9 | 2020-03-05 08:40:19 -0500 | [diff] [blame] | 23 | # jenkins job name prefix |
Lott, Christopher (cl778h) | 860caa7 | 2020-04-27 15:15:37 -0400 | [diff] [blame] | 24 | project-name: ric-plt-lib-rmr |
Lott, Christopher (cl778h) | c8e8ea9 | 2020-03-05 08:40:19 -0500 | [diff] [blame] | 25 | # test scripts depend on this name |
Lott, Christopher (cl778h) | 7751aa0 | 2020-03-30 20:06:30 -0400 | [diff] [blame] | 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 |
| 30 | # install alien package to build RPMS on ubuntu |
| 31 | pre-build: !include-raw-escape: |
| 32 | - ../shell/install-deb-alien.sh |
Lott, Christopher (cl778h) | c8e8ea9 | 2020-03-05 08:40:19 -0500 | [diff] [blame] | 33 | # exclude irrelevant changes |
Lott, Christopher (cl778h) | 557b88a | 2019-09-27 06:01:54 -0400 | [diff] [blame] | 34 | gerrit_trigger_file_paths: |
| 35 | - compare-type: REG_EXP |
| 36 | pattern: '^((?!src/bindings|\/COMMIT_MSG).)*$' |
Lott, Christopher (cl778h) | caecbb5 | 2019-11-11 16:04:43 -0500 | [diff] [blame] | 37 | |
Lott, Christopher (cl778h) | 7751aa0 | 2020-03-30 20:06:30 -0400 | [diff] [blame] | 38 | # verify every commit |
Lott, Christopher (cl778h) | caecbb5 | 2019-11-11 16:04:43 -0500 | [diff] [blame] | 39 | - project: |
| 40 | <<: *rmr_common |
Lott, Christopher (cl778h) | 860caa7 | 2020-04-27 15:15:37 -0400 | [diff] [blame] | 41 | name: ric-plt-lib-rmr-verify |
Lott, Christopher (cl778h) | b922322 | 2020-04-03 11:22:31 -0400 | [diff] [blame] | 42 | cmake-opts: -DDEV_PKG=1 -DBUILD_DOC=1 |
| 43 | # skip install in cmake-build.sh |
| 44 | install: false |
Lott, Christopher (cl778h) | 7751aa0 | 2020-03-30 20:06:30 -0400 | [diff] [blame] | 45 | make-opts: package test ARGS=-V |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 46 | jobs: |
Lott, Christopher (cl778h) | c8e8ea9 | 2020-03-05 08:40:19 -0500 | [diff] [blame] | 47 | - gerrit-cmake-verify |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 48 | stream: |
Lott, Christopher (cl778h) | 7751aa0 | 2020-03-30 20:06:30 -0400 | [diff] [blame] | 49 | - master: |
| 50 | branch: master |
Lott, Christopher (cl778h) | c2339be | 2019-08-22 10:48:39 -0400 | [diff] [blame] | 51 | |
Lott, Christopher (cl778h) | 7751aa0 | 2020-03-30 20:06:30 -0400 | [diff] [blame] | 52 | # development library - package and publish |
Lott, Christopher (cl778h) | c2339be | 2019-08-22 10:48:39 -0400 | [diff] [blame] | 53 | - project: |
Lott, Christopher (cl778h) | 557b88a | 2019-09-27 06:01:54 -0400 | [diff] [blame] | 54 | <<: *rmr_common |
Lott, Christopher (cl778h) | 860caa7 | 2020-04-27 15:15:37 -0400 | [diff] [blame] | 55 | name: ric-plt-lib-rmr-dev |
| 56 | project-name: ric-plt-lib-rmr-dev |
Lott, Christopher (cl778h) | 7751aa0 | 2020-03-30 20:06:30 -0400 | [diff] [blame] | 57 | cmake-opts: -DDEV_PKG=1 |
| 58 | make-opts: package ARGS=-V |
| 59 | install-prefix: /usr/local |
Lott, Christopher (cl778h) | caecbb5 | 2019-11-11 16:04:43 -0500 | [diff] [blame] | 60 | jobs: |
Lott, Christopher (cl778h) | b922322 | 2020-04-03 11:22:31 -0400 | [diff] [blame] | 61 | - gerrit-cmake-packagecloud-stage |
Lott, Christopher (cl778h) | 7751aa0 | 2020-03-30 20:06:30 -0400 | [diff] [blame] | 62 | stream: |
| 63 | - master: |
| 64 | branch: master |
| 65 | |
| 66 | # runtime library - package and publish |
| 67 | - project: |
| 68 | <<: *rmr_common |
Lott, Christopher (cl778h) | 860caa7 | 2020-04-27 15:15:37 -0400 | [diff] [blame] | 69 | name: ric-plt-lib-rmr-rt |
| 70 | project-name: ric-plt-lib-rmr-rt |
Lott, Christopher (cl778h) | 7751aa0 | 2020-03-30 20:06:30 -0400 | [diff] [blame] | 71 | cmake-opts: -DDEV_PKG=0 |
| 72 | make-opts: package ARGS=-V |
| 73 | install-prefix: /usr/local |
| 74 | jobs: |
Lott, Christopher (cl778h) | b922322 | 2020-04-03 11:22:31 -0400 | [diff] [blame] | 75 | - gerrit-cmake-packagecloud-stage |
Lott, Christopher (cl778h) | caecbb5 | 2019-11-11 16:04:43 -0500 | [diff] [blame] | 76 | stream: |
| 77 | - master: |
| 78 | branch: master |
| 79 | |
Lott, Christopher (cl778h) | c8e8ea9 | 2020-03-05 08:40:19 -0500 | [diff] [blame] | 80 | # promote deb/rpm from staging to release at PackageCloud.io |
| 81 | - project: |
| 82 | <<: *rmr_common |
Lott, Christopher (cl778h) | 860caa7 | 2020-04-27 15:15:37 -0400 | [diff] [blame] | 83 | name: ric-plt-lib-rmr-release |
Lott, Christopher (cl778h) | c8e8ea9 | 2020-03-05 08:40:19 -0500 | [diff] [blame] | 84 | # release uses sigul which requires centos |
| 85 | build-node: centos7-builder-1c-1g |
| 86 | jobs: |
| 87 | - gerrit-packagecloud-release-verify |
| 88 | - gerrit-packagecloud-release-merge |
| 89 | |
| 90 | # analyze C code and test coverage |
| 91 | - project: |
Lott, Christopher (cl778h) | 860caa7 | 2020-04-27 15:15:37 -0400 | [diff] [blame] | 92 | name: ric-plt-lib-rmr-sonarqube |
Lott, Christopher (cl778h) | c8e8ea9 | 2020-03-05 08:40:19 -0500 | [diff] [blame] | 93 | <<: *rmr_common |
Lott, Christopher (cl778h) | 860caa7 | 2020-04-27 15:15:37 -0400 | [diff] [blame] | 94 | cmake-opts: -DDEV_PKG=1 |
| 95 | make-opts: package test ARGS=-V |
Lott, Christopher (cl778h) | c8e8ea9 | 2020-03-05 08:40:19 -0500 | [diff] [blame] | 96 | sonar-project-file: "" |
| 97 | sonar-properties: | |
| 98 | sonar.login={sonarcloud_api_token} |
| 99 | sonar.projectKey={sonarcloud_project_organization}_{project-name} |
| 100 | sonar.projectName={project-name} |
| 101 | sonar.organization={sonarcloud_project_organization} |
| 102 | sonar.build.sourceEncoding=UTF-8 |
| 103 | sonar.sources=src/rmr |
| 104 | sonar.cfamily.build-wrapper-output=$WORKSPACE/bw-output |
| 105 | sonar.cfamily.gcov.reportsPath=test |
Lott, Christopher (cl778h) | 860caa7 | 2020-04-27 15:15:37 -0400 | [diff] [blame] | 106 | sonar.cfamily.threads=2 |
Lott, Christopher (cl778h) | c8e8ea9 | 2020-03-05 08:40:19 -0500 | [diff] [blame] | 107 | jobs: |
| 108 | - gerrit-cmake-sonarqube |