E. Scott Daniels | 5f58568 | 2021-02-09 10:07:32 -0500 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: ric-plt-libe2ap-project-view |
| 4 | project-name: ric-plt-libe2ap |
| 5 | views: |
| 6 | - project-view |
| 7 | |
| 8 | - project: |
| 9 | name: ric-plt-libe2ap-info |
| 10 | project: ric-plt/libe2ap |
| 11 | project-name: ric-plt-libe2ap |
| 12 | build-node: centos7-builder-1c-1g |
| 13 | jobs: |
| 14 | - gerrit-info-yaml-verify |
| 15 | |
Anil Belur | 4e0d56a | 2023-04-18 11:49:03 +1000 | [diff] [blame] | 16 | - _libe2ap_common: &libe2ap_common |
E. Scott Daniels | 5f58568 | 2021-02-09 10:07:32 -0500 | [diff] [blame] | 17 | name: libe2ap-common |
| 18 | # git repo |
| 19 | project: ric-plt/libe2ap |
| 20 | # jenkins job name prefix |
| 21 | project-name: ric-plt-libe2ap |
| 22 | # maven settings file has credentials to archive artifacts |
| 23 | mvn-settings: ric-plt-libe2ap-settings |
| 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 |
| 29 | # pre-build scripts for CMake templates: |
| 30 | # install alien package to build RPMS |
| 31 | # install RMR per version file in repo |
| 32 | pre-build: !include-raw-escape: |
| 33 | - ../shell/install-deb-alien.sh |
| 34 | - ../shell/install-deb-rmr.sh |
| 35 | # skip install in cmake-build.sh |
| 36 | install: false |
| 37 | |
| 38 | # verify every commit |
| 39 | - project: |
| 40 | <<: *libe2ap_common |
| 41 | name: libe2ap-verify |
| 42 | cmake-opts: -DDEV_PKG=1 |
| 43 | make-opts: package test ARGS=-V |
| 44 | jobs: |
| 45 | - gerrit-cmake-verify |
| 46 | stream: |
| 47 | - master: |
| 48 | branch: master |
| 49 | |
| 50 | # development library - package and publish |
| 51 | - project: |
| 52 | <<: *libe2ap_common |
| 53 | name: ric-plt-libe2ap-dev |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 54 | project-name: "{name}" |
E. Scott Daniels | 5f58568 | 2021-02-09 10:07:32 -0500 | [diff] [blame] | 55 | cmake-opts: -DDEV_PKG=1 |
| 56 | make-opts: package |
| 57 | install-prefix: /usr/local |
| 58 | jobs: |
| 59 | - gerrit-cmake-packagecloud-stage |
| 60 | stream: |
| 61 | - master: |
| 62 | branch: master |
| 63 | |
| 64 | # runtime library - package and publish |
| 65 | - project: |
| 66 | <<: *libe2ap_common |
| 67 | name: ric-plt-libe2ap-rt |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 68 | project-name: "{name}" |
E. Scott Daniels | 5f58568 | 2021-02-09 10:07:32 -0500 | [diff] [blame] | 69 | cmake-opts: -DDEV_PKG=0 |
| 70 | make-opts: package |
| 71 | install-prefix: /usr/local |
| 72 | jobs: |
| 73 | - gerrit-cmake-packagecloud-stage |
| 74 | stream: |
| 75 | - master: |
| 76 | branch: master |
| 77 | |
| 78 | # promote deb/rpm from staging to release at PackageCloud.io |
| 79 | - project: |
| 80 | <<: *libe2ap_common |
| 81 | name: ric-plt-libe2ap-release |
| 82 | # release uses sigul which requires centos |
| 83 | build-node: centos7-builder-1c-1g |
| 84 | jobs: |
| 85 | - gerrit-packagecloud-release-verify |
| 86 | - gerrit-packagecloud-release-merge |
E. Scott Daniels | 5f58568 | 2021-02-09 10:07:32 -0500 | [diff] [blame] | 87 | # no sonar jobs as the library contains only generated code |