Add Jenkins verify and merge jobs for RtMgr
This builds an image to be pushed to the LF registry.
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: Ia6c0feb024caaaa54183c9db535b48ab9fdd946a
diff --git a/jjb/ric-plt-rtmgr/ric-plt-rtmgr.yaml b/jjb/ric-plt-rtmgr/ric-plt-rtmgr.yaml
new file mode 100644
index 0000000..9cfb43e
--- /dev/null
+++ b/jjb/ric-plt-rtmgr/ric-plt-rtmgr.yaml
@@ -0,0 +1,39 @@
+---
+- project:
+ name: ric-plt-rtmgr-project-view
+ project-name: ric-plt-rtmgr
+ views:
+ - project-view
+
+- rtmgr_docker_common: &rtmgr_docker_common
+ # values apply to all RIC docker-build projects.
+ # factored out in case this needs multiple projects.
+ # use a specific name to prevent reuse attempts
+ # bcos anchors don't cross document boundaries.
+ name: rtmgr-docker-common
+ build-node: ubuntu1804-docker-4c-4g
+ # pull from the public mirror + releases registry
+ container-public-registry: nexus3.o-ran-sc.org:10001
+ # push to the staging repo bcos all builds are RCs
+ container-push-registry: nexus3.o-ran-sc.org:10004
+ # use host network to clone from our gerrit
+ docker-build-args: '--network=host'
+ # source of docker tag
+ docker-use-params-from: yaml-file-params
+ stream:
+ - master:
+ branch: master
+
+- project:
+ name: ric-plt-rtmgr
+ # git repo
+ project: ric-plt/rtmgr
+ # jenkins job name prefix
+ project-name: '{name}'
+ # image name
+ docker-name: '{name}'
+ # maven settings file has docker credentials
+ mvn-settings: ric-plt-rtmgr-settings
+ jobs:
+ - '{project-name}-gerrit-docker-jobs'
+ <<: *rtmgr_docker_common