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 | |
| 16 | - xapp_frame_cpp_common: &xapp_frame_cpp_common |
| 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 |
Lott, Christopher (cl778h) | f145eca | 2020-04-07 12:36:56 -0400 | [diff] [blame] | 35 | # skip install in cmake-build.sh |
| 36 | install: false |
Lott, Christopher (cl778h) | 95cc089 | 2020-03-25 09:20:01 -0400 | [diff] [blame] | 37 | |
Lott, Christopher (cl778h) | f145eca | 2020-04-07 12:36:56 -0400 | [diff] [blame] | 38 | # verify every commit |
Lott, Christopher (cl778h) | 95cc089 | 2020-03-25 09:20:01 -0400 | [diff] [blame] | 39 | - project: |
Lott, Christopher (cl778h) | 95cc089 | 2020-03-25 09:20:01 -0400 | [diff] [blame] | 40 | <<: *xapp_frame_cpp_common |
Lott, Christopher (cl778h) | f145eca | 2020-04-07 12:36:56 -0400 | [diff] [blame] | 41 | name: xapp-frame-cpp-verify |
Lott, Christopher (cl778h) | fe4cf19 | 2020-03-26 21:26:14 -0400 | [diff] [blame] | 42 | cmake-opts: -DDEV_PKG=1 |
Lott, Christopher (cl778h) | f145eca | 2020-04-07 12:36:56 -0400 | [diff] [blame] | 43 | make-opts: package test ARGS=-V |
Lott, Christopher (cl778h) | fe4cf19 | 2020-03-26 21:26:14 -0400 | [diff] [blame] | 44 | jobs: |
Lott, Christopher (cl778h) | f145eca | 2020-04-07 12:36:56 -0400 | [diff] [blame] | 45 | - gerrit-cmake-verify |
Lott, Christopher (cl778h) | fe4cf19 | 2020-03-26 21:26:14 -0400 | [diff] [blame] | 46 | stream: |
| 47 | - master: |
| 48 | branch: master |
| 49 | |
Lott, Christopher (cl778h) | f145eca | 2020-04-07 12:36:56 -0400 | [diff] [blame] | 50 | # development library - package and publish |
Lott, Christopher (cl778h) | fe4cf19 | 2020-03-26 21:26:14 -0400 | [diff] [blame] | 51 | - project: |
Lott, Christopher (cl778h) | fe4cf19 | 2020-03-26 21:26:14 -0400 | [diff] [blame] | 52 | <<: *xapp_frame_cpp_common |
Lott, Christopher (cl778h) | f145eca | 2020-04-07 12:36:56 -0400 | [diff] [blame] | 53 | name: ric-plt-xapp-frame-cpp-dev |
| 54 | project-name: '{name}' |
| 55 | cmake-opts: -DDEV_PKG=1 |
| 56 | make-opts: package |
| 57 | install-prefix: /usr/local |
Lott, Christopher (cl778h) | 95cc089 | 2020-03-25 09:20:01 -0400 | [diff] [blame] | 58 | jobs: |
Lott, Christopher (cl778h) | f145eca | 2020-04-07 12:36:56 -0400 | [diff] [blame] | 59 | - gerrit-cmake-packagecloud-stage |
| 60 | stream: |
| 61 | - master: |
| 62 | branch: master |
| 63 | |
| 64 | # runtime library - package and publish |
| 65 | - project: |
| 66 | <<: *xapp_frame_cpp_common |
| 67 | name: ric-plt-xapp-frame-cpp-rt |
| 68 | project-name: '{name}' |
| 69 | cmake-opts: -DDEV_PKG=0 |
| 70 | make-opts: package |
| 71 | install-prefix: /usr/local |
| 72 | jobs: |
| 73 | - gerrit-cmake-packagecloud-stage |
Lott, Christopher (cl778h) | 95cc089 | 2020-03-25 09:20:01 -0400 | [diff] [blame] | 74 | stream: |
| 75 | - master: |
| 76 | branch: master |
| 77 | |
E. Scott Daniels | b9e938c | 2020-06-12 15:37:19 -0400 | [diff] [blame] | 78 | # promote deb/rpm from staging to release at PackageCloud.io |
| 79 | - project: |
| 80 | <<: *xapp_frame_cpp_common |
| 81 | name: ric-plt-xapp-frame-cpp-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 |
| 87 | |
Lott, Christopher (cl778h) | 95cc089 | 2020-03-25 09:20:01 -0400 | [diff] [blame] | 88 | # analyze C code and test coverage |
| 89 | - project: |
| 90 | name: xapp-frame-cpp-sonarqube |
| 91 | <<: *xapp_frame_cpp_common |
Lott, Christopher (cl778h) | fe4cf19 | 2020-03-26 21:26:14 -0400 | [diff] [blame] | 92 | make-opts: test ARGS=-V |
Lott, Christopher (cl778h) | 95cc089 | 2020-03-25 09:20:01 -0400 | [diff] [blame] | 93 | sonar-project-file: "" |
| 94 | sonar-properties: | |
| 95 | sonar.login={sonarcloud_api_token} |
| 96 | sonar.projectKey={sonarcloud_project_organization}_{project-name} |
| 97 | sonar.projectName={project-name} |
| 98 | sonar.organization={sonarcloud_project_organization} |
| 99 | sonar.build.sourceEncoding=UTF-8 |
| 100 | sonar.sources=src |
| 101 | sonar.cfamily.build-wrapper-output=$WORKSPACE/bw-output |
| 102 | sonar.cfamily.gcov.reportsPath=test |
| 103 | jobs: |
| 104 | - gerrit-cmake-sonarqube |