blob: d1f978a82cc36f321d6cec47cb8c6bda3c324e15 [file] [log] [blame]
Lott, Christopher (cl778h)f14966f2019-06-04 10:38:14 -04001---
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)db2347d2019-06-12 09:53:40 -040012 # because anchors don't cross document boundaries.
Lott, Christopher (cl778h)f14966f2019-06-04 10:38:14 -040013 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)db2347d2019-06-12 09:53:40 -040017 # push to the staging repo because all builds are RCs
Andrew Grimberg8a4f1902019-06-12 09:33:54 -070018 container-push-registry: nexus3.o-ran-sc.org:10004
Lott, Christopher (cl778h)f14966f2019-06-04 10:38:14 -040019 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)43e1d252019-06-10 16:49:18 -040029 # use host network to clone from our gerrit
30 docker-build-args: '--network=host -f ci/Dockerfile'
Lott, Christopher (cl778h)f14966f2019-06-04 10:38:14 -040031 # image name
32 docker-name: '{name}'
Lott, Christopher (cl778h)db2347d2019-06-12 09:53:40 -040033 # image tag; use a fixed value
Lott, Christopher (cl778h)43e1d252019-06-10 16:49:18 -040034 container-tag-method: latest
Lott, Christopher (cl778h)f14966f2019-06-04 10:38:14 -040035 # maven settings file has docker credentials
36 mvn-settings: ric-plt-lib-rmr-settings
Lott, Christopher (cl778h)db2347d2019-06-12 09:53:40 -040037 # copy deb to Jenkins filesystem
38 post_docker_build_script: !include-raw-escape:
39 - shell/copy-rmr-packages.sh
Lott, Christopher (cl778h)f14966f2019-06-04 10:38:14 -040040 jobs:
Lott, Christopher (cl778h)28b61382019-06-12 14:54:12 -040041 # TODO: define a merge template to push package, not image
42 - gerrit-docker-verify
Lott, Christopher (cl778h)f14966f2019-06-04 10:38:14 -040043 <<: *rmr_docker_common
Andrew Grimbergadf550e2019-06-11 13:40:50 -070044
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