LF Jenkins CI | fa6d9e7 | 2020-02-26 17:20:43 +0000 | [diff] [blame] | 1 | --- |
| 2 | - project: |
Lott, Christopher (cl778h) | 95cc089 | 2020-03-25 09:20:01 -0400 | [diff] [blame] | 3 | name: ric-plt-xapp-frame-cpp-project-view |
| 4 | project-name: ric-plt-xapp-frame-cpp |
| 5 | views: |
| 6 | - project-view |
| 7 | |
| 8 | - project: |
LF Jenkins CI | fa6d9e7 | 2020-02-26 17:20:43 +0000 | [diff] [blame] | 9 | name: ric-plt-xapp-frame-cpp-info |
| 10 | project: ric-plt/xapp-frame-cpp |
| 11 | project-name: ric-plt-xapp-frame-cpp |
| 12 | build-node: centos7-builder-1c-1g |
| 13 | jobs: |
| 14 | - gerrit-info-yaml-verify |
Lott, Christopher (cl778h) | 95cc089 | 2020-03-25 09:20:01 -0400 | [diff] [blame] | 15 | |
Anil Belur | 4e0d56a | 2023-04-18 11:49:03 +1000 | [diff] [blame] | 16 | - _xapp_frame_cpp_common: &xapp_frame_cpp_common |
Lott, Christopher (cl778h) | 95cc089 | 2020-03-25 09:20:01 -0400 | [diff] [blame] | 17 | name: xapp-frame-cpp-common |
| 18 | # git repo |
| 19 | project: ric-plt/xapp-frame-cpp |
| 20 | # jenkins job name prefix |
| 21 | project-name: ric-plt-xapp-frame-cpp |
| 22 | # maven settings file has credentials to archive artifacts |
| 23 | mvn-settings: ric-plt-xapp-frame-cpp-settings |
| 24 | # test scripts depend on this name |
| 25 | build-dir: $WORKSPACE/build |
Lott, Christopher (cl778h) | 42453bd | 2020-03-25 16:33:06 -0400 | [diff] [blame] | 26 | # Use ubuntu base for cmake v3 |
| 27 | # Use docker variant for packagecloud ruby gem |
| 28 | build-node: ubuntu1804-docker-4c-4g |
Lott, Christopher (cl778h) | f145eca | 2020-04-07 12:36:56 -0400 | [diff] [blame] | 29 | # pre-build scripts for CMake templates: |
Lott, Christopher (cl778h) | 6949969 | 2020-03-27 13:55:06 -0400 | [diff] [blame] | 30 | # install alien package to build RPMS |
Lott, Christopher (cl778h) | f145eca | 2020-04-07 12:36:56 -0400 | [diff] [blame] | 31 | # install RMR per version file in repo |
Lott, Christopher (cl778h) | 95cc089 | 2020-03-25 09:20:01 -0400 | [diff] [blame] | 32 | pre-build: !include-raw-escape: |
Lott, Christopher (cl778h) | 6949969 | 2020-03-27 13:55:06 -0400 | [diff] [blame] | 33 | - ../shell/install-deb-alien.sh |
Lott, Christopher (cl778h) | 18c7159 | 2020-04-27 17:46:12 -0400 | [diff] [blame] | 34 | - ../shell/install-deb-rmr.sh |
sandeepindia | f606d95 | 2022-12-05 23:48:36 +0530 | [diff] [blame] | 35 | - ../shell/install-git-RESTful.sh |
Lott, Christopher (cl778h) | f145eca | 2020-04-07 12:36:56 -0400 | [diff] [blame] | 36 | # skip install in cmake-build.sh |
| 37 | install: false |
Lott, Christopher (cl778h) | 95cc089 | 2020-03-25 09:20:01 -0400 | [diff] [blame] | 38 | |
Lott, Christopher (cl778h) | f145eca | 2020-04-07 12:36:56 -0400 | [diff] [blame] | 39 | # verify every commit |
Lott, Christopher (cl778h) | 95cc089 | 2020-03-25 09:20:01 -0400 | [diff] [blame] | 40 | - project: |
Lott, Christopher (cl778h) | 95cc089 | 2020-03-25 09:20:01 -0400 | [diff] [blame] | 41 | <<: *xapp_frame_cpp_common |
Lott, Christopher (cl778h) | f145eca | 2020-04-07 12:36:56 -0400 | [diff] [blame] | 42 | name: xapp-frame-cpp-verify |
Lott, Christopher (cl778h) | fe4cf19 | 2020-03-26 21:26:14 -0400 | [diff] [blame] | 43 | cmake-opts: -DDEV_PKG=1 |
Lott, Christopher (cl778h) | f145eca | 2020-04-07 12:36:56 -0400 | [diff] [blame] | 44 | make-opts: package test ARGS=-V |
Lott, Christopher (cl778h) | fe4cf19 | 2020-03-26 21:26:14 -0400 | [diff] [blame] | 45 | jobs: |
Lott, Christopher (cl778h) | f145eca | 2020-04-07 12:36:56 -0400 | [diff] [blame] | 46 | - gerrit-cmake-verify |
Lott, Christopher (cl778h) | fe4cf19 | 2020-03-26 21:26:14 -0400 | [diff] [blame] | 47 | stream: |
| 48 | - master: |
| 49 | branch: master |
| 50 | |
Lott, Christopher (cl778h) | f145eca | 2020-04-07 12:36:56 -0400 | [diff] [blame] | 51 | # development library - package and publish |
Lott, Christopher (cl778h) | fe4cf19 | 2020-03-26 21:26:14 -0400 | [diff] [blame] | 52 | - project: |
Lott, Christopher (cl778h) | fe4cf19 | 2020-03-26 21:26:14 -0400 | [diff] [blame] | 53 | <<: *xapp_frame_cpp_common |
Lott, Christopher (cl778h) | f145eca | 2020-04-07 12:36:56 -0400 | [diff] [blame] | 54 | name: ric-plt-xapp-frame-cpp-dev |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 55 | project-name: "{name}" |
Lott, Christopher (cl778h) | f145eca | 2020-04-07 12:36:56 -0400 | [diff] [blame] | 56 | cmake-opts: -DDEV_PKG=1 |
| 57 | make-opts: package |
| 58 | install-prefix: /usr/local |
Lott, Christopher (cl778h) | 95cc089 | 2020-03-25 09:20:01 -0400 | [diff] [blame] | 59 | jobs: |
Lott, Christopher (cl778h) | f145eca | 2020-04-07 12:36:56 -0400 | [diff] [blame] | 60 | - gerrit-cmake-packagecloud-stage |
| 61 | stream: |
| 62 | - master: |
| 63 | branch: master |
| 64 | |
| 65 | # runtime library - package and publish |
| 66 | - project: |
| 67 | <<: *xapp_frame_cpp_common |
| 68 | name: ric-plt-xapp-frame-cpp-rt |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 69 | project-name: "{name}" |
Lott, Christopher (cl778h) | f145eca | 2020-04-07 12:36:56 -0400 | [diff] [blame] | 70 | cmake-opts: -DDEV_PKG=0 |
| 71 | make-opts: package |
| 72 | install-prefix: /usr/local |
| 73 | jobs: |
| 74 | - gerrit-cmake-packagecloud-stage |
Lott, Christopher (cl778h) | 95cc089 | 2020-03-25 09:20:01 -0400 | [diff] [blame] | 75 | stream: |
| 76 | - master: |
| 77 | branch: master |
| 78 | |
E. Scott Daniels | b9e938c | 2020-06-12 15:37:19 -0400 | [diff] [blame] | 79 | # promote deb/rpm from staging to release at PackageCloud.io |
| 80 | - project: |
| 81 | <<: *xapp_frame_cpp_common |
| 82 | name: ric-plt-xapp-frame-cpp-release |
| 83 | # release uses sigul which requires centos |
| 84 | build-node: centos7-builder-1c-1g |
| 85 | jobs: |
| 86 | - gerrit-packagecloud-release-verify |
| 87 | - gerrit-packagecloud-release-merge |
| 88 | |
Lott, Christopher (cl778h) | 95cc089 | 2020-03-25 09:20:01 -0400 | [diff] [blame] | 89 | # analyze C code and test coverage |
| 90 | - project: |
| 91 | name: xapp-frame-cpp-sonarqube |
| 92 | <<: *xapp_frame_cpp_common |
Lott, Christopher (cl778h) | fe4cf19 | 2020-03-26 21:26:14 -0400 | [diff] [blame] | 93 | make-opts: test ARGS=-V |
Lott, Christopher (cl778h) | 95cc089 | 2020-03-25 09:20:01 -0400 | [diff] [blame] | 94 | sonar-project-file: "" |
| 95 | sonar-properties: | |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 96 | sonar.login={sonarcloud_api_token} |
| 97 | sonar.projectKey={sonarcloud_project_organization}_{project-name} |
| 98 | sonar.projectName={project-name} |
| 99 | sonar.organization={sonarcloud_project_organization} |
| 100 | sonar.build.sourceEncoding=UTF-8 |
| 101 | sonar.sources=src |
| 102 | sonar.cfamily.build-wrapper-output=$WORKSPACE/bw-output |
| 103 | sonar.cfamily.gcov.reportsPath=test |
Lott, Christopher (cl778h) | 95cc089 | 2020-03-25 09:20:01 -0400 | [diff] [blame] | 104 | jobs: |
| 105 | - gerrit-cmake-sonarqube |