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