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