Lott, Christopher (cl778h) | f14966f | 2019-06-04 10:38:14 -0400 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: ric-plt-lib-rmr-project-view |
| 4 | project-name: ric-plt-lib-rmr |
| 5 | views: |
| 6 | - project-view |
| 7 | |
| 8 | - rmr_docker_common: &rmr_docker_common |
| 9 | # values apply to all RIC docker-build projects. |
| 10 | # factored out in case rmr needs multiple projects. |
| 11 | # use a specific name to prevent reuse attempts |
Lott, Christopher (cl778h) | db2347d | 2019-06-12 09:53:40 -0400 | [diff] [blame] | 12 | # because anchors don't cross document boundaries. |
Lott, Christopher (cl778h) | f14966f | 2019-06-04 10:38:14 -0400 | [diff] [blame] | 13 | name: rmr-docker-common |
| 14 | build-node: ubuntu1804-docker-4c-4g |
| 15 | # pull from the public mirror + releases registry |
| 16 | container-public-registry: nexus3.o-ran-sc.org:10001 |
Lott, Christopher (cl778h) | db2347d | 2019-06-12 09:53:40 -0400 | [diff] [blame] | 17 | # push to the staging repo because all builds are RCs |
Andrew Grimberg | 8a4f190 | 2019-06-12 09:33:54 -0700 | [diff] [blame] | 18 | container-push-registry: nexus3.o-ran-sc.org:10004 |
Lott, Christopher (cl778h) | f14966f | 2019-06-04 10:38:14 -0400 | [diff] [blame] | 19 | stream: |
| 20 | - master: |
| 21 | branch: master |
| 22 | |
| 23 | - project: |
| 24 | name: ric-plt-lib-rmr |
| 25 | # git repo |
| 26 | project: ric-plt/lib/rmr |
| 27 | # jenkins job name prefix |
| 28 | project-name: '{name}' |
Lott, Christopher (cl778h) | 43e1d25 | 2019-06-10 16:49:18 -0400 | [diff] [blame] | 29 | # use host network to clone from our gerrit |
| 30 | docker-build-args: '--network=host -f ci/Dockerfile' |
Lott, Christopher (cl778h) | f14966f | 2019-06-04 10:38:14 -0400 | [diff] [blame] | 31 | # image name |
| 32 | docker-name: '{name}' |
Lott, Christopher (cl778h) | db2347d | 2019-06-12 09:53:40 -0400 | [diff] [blame] | 33 | # image tag; use a fixed value |
Lott, Christopher (cl778h) | 43e1d25 | 2019-06-10 16:49:18 -0400 | [diff] [blame] | 34 | container-tag-method: latest |
Lott, Christopher (cl778h) | f14966f | 2019-06-04 10:38:14 -0400 | [diff] [blame] | 35 | # maven settings file has docker credentials |
| 36 | mvn-settings: ric-plt-lib-rmr-settings |
Lott, Christopher (cl778h) | db2347d | 2019-06-12 09:53:40 -0400 | [diff] [blame] | 37 | # copy deb to Jenkins filesystem |
| 38 | post_docker_build_script: !include-raw-escape: |
| 39 | - shell/copy-rmr-packages.sh |
Lott, Christopher (cl778h) | f14966f | 2019-06-04 10:38:14 -0400 | [diff] [blame] | 40 | jobs: |
Lott, Christopher (cl778h) | 28b6138 | 2019-06-12 14:54:12 -0400 | [diff] [blame] | 41 | # TODO: define a merge template to push package, not image |
| 42 | - gerrit-docker-verify |
Lott, Christopher (cl778h) | f14966f | 2019-06-04 10:38:14 -0400 | [diff] [blame] | 43 | <<: *rmr_docker_common |
Andrew Grimberg | adf550e | 2019-06-11 13:40:50 -0700 | [diff] [blame] | 44 | |
| 45 | - project: |
| 46 | name: ric-plt-lib-rmr-info |
| 47 | project: ric-plt/lib/rmr |
| 48 | project-name: ric-plt-lib-rmr |
| 49 | build-node: centos7-builder-1c-1g |
| 50 | |
| 51 | jobs: |
| 52 | - gerrit-info-yaml-verify |