Aric Gardner | 5c0c59e | 2019-11-08 19:18:16 +0000 | [diff] [blame] | 1 | --- |
| 2 | - project: |
ronit | bdd92d8 | 2020-04-20 11:53:32 +0300 | [diff] [blame] | 3 | name: ric-plt-nodeb-rnib-project-view |
Aric Gardner | 5c0c59e | 2019-11-08 19:18:16 +0000 | [diff] [blame] | 4 | project-name: ric-plt-nodeb-rnib |
ronit | bdd92d8 | 2020-04-20 11:53:32 +0300 | [diff] [blame] | 5 | views: |
| 6 | - project-view |
| 7 | |
| 8 | - nodeb_rnib_common: &nodeb_rnib_common |
| 9 | # values apply to all projects |
| 10 | name: nodeb-rnib-common |
| 11 | # git repo |
Aric Gardner | da252d2 | 2019-10-11 16:10:03 -0400 | [diff] [blame] | 12 | project: ric-plt/nodeb-rnib |
ronit | bdd92d8 | 2020-04-20 11:53:32 +0300 | [diff] [blame] | 13 | # jenkins job name prefix |
| 14 | project-name: ric-plt-nodeb-rnib |
| 15 | # maven settings file has docker credentials |
| 16 | mvn-settings: ric-plt-nodeb-rnib-settings |
| 17 | |
| 18 | - project: |
| 19 | <<: *nodeb_rnib_common |
| 20 | name: ric-plt-nodeb-rnib-info |
Aric Gardner | da252d2 | 2019-10-11 16:10:03 -0400 | [diff] [blame] | 21 | build-node: centos7-builder-1c-1g |
Aric Gardner | 5c0c59e | 2019-11-08 19:18:16 +0000 | [diff] [blame] | 22 | jobs: |
| 23 | - gerrit-info-yaml-verify |
ronit | bdd92d8 | 2020-04-20 11:53:32 +0300 | [diff] [blame] | 24 | |
| 25 | # build deb/rpm using Docker and publish to PackageCloud.io |
| 26 | # on merge to master branch |
| 27 | - project: |
| 28 | <<: *nodeb_rnib_common |
| 29 | name: ric-plt-nodeb-rnib-package |
| 30 | # need docker |
| 31 | build-node: ubuntu1804-docker-4c-4g |
| 32 | # image is not pushed, use simple name and tag |
| 33 | docker-name: '{name}' |
| 34 | container-tag-method: latest |
| 35 | # use host network for network resources |
| 36 | docker-build-args: '--network=host -f ci/Dockerfile' |
| 37 | jobs: |
Lott, Christopher (cl778h) | e4e18d2 | 2020-04-23 19:33:13 -0400 | [diff] [blame] | 38 | - gerrit-docker-verify |
ronit | bdd92d8 | 2020-04-20 11:53:32 +0300 | [diff] [blame] | 39 | - oran-gerrit-docker-ci-pc-merge |
| 40 | stream: |
| 41 | - master: |
| 42 | branch: master |
| 43 | |
| 44 | # promote deb from staging to release at PackageCloud.io |
| 45 | - project: |
| 46 | <<: *nodeb_rnib_common |
| 47 | name: ric-plt-nodeb-rnib-release |
| 48 | # release uses sigul which requires centos |
| 49 | build-node: centos7-builder-1c-1g |
| 50 | jobs: |
| 51 | - gerrit-packagecloud-release-verify |
| 52 | - gerrit-packagecloud-release-merge |