blob: a7f4ccaf23fb970d20d27ec9eaf5c9ac543a3a44 [file] [log] [blame]
E. Scott Daniels5f585682021-02-09 10:07:32 -05001---
2- project:
3 name: ric-plt-libe2ap-project-view
4 project-name: ric-plt-libe2ap
5 views:
6 - project-view
7
Anil Belur4e0d56a2023-04-18 11:49:03 +10008- _libe2ap_common: &libe2ap_common
E. Scott Daniels5f585682021-02-09 10:07:32 -05009 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 Belur439502c2023-05-07 12:39:38 +100046 project-name: "{name}"
E. Scott Daniels5f585682021-02-09 10:07:32 -050047 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 Belur439502c2023-05-07 12:39:38 +100060 project-name: "{name}"
E. Scott Daniels5f585682021-02-09 10:07:32 -050061 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 Daniels5f585682021-02-09 10:07:32 -050079# no sonar jobs as the library contains only generated code