Add Jenkins verify and merge jobs for DBaaS 60/260/2
authorLott, Christopher (cl778h) <cl778h@att.com>
Wed, 5 Jun 2019 15:41:33 +0000 (11:41 -0400)
committerLott, Christopher (cl778h) <cl778h@att.com>
Wed, 5 Jun 2019 15:52:30 +0000 (11:52 -0400)
This builds the Redis image to be pushed to the LF registry;
it does not build the testing image.

Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I7262e1ee1bc3d9dd5b409d37023e80eef00911b2

jjb/ric-plt-dbaas/ric-plt-dbaas.yaml [new file with mode: 0644]

diff --git a/jjb/ric-plt-dbaas/ric-plt-dbaas.yaml b/jjb/ric-plt-dbaas/ric-plt-dbaas.yaml
new file mode 100644 (file)
index 0000000..d600baf
--- /dev/null
@@ -0,0 +1,39 @@
+---
+- project:
+    name: ric-plt-dbaas-project-view
+    project-name: ric-plt-dbaas
+    views:
+      - project-view
+
+- dbaas_docker_common: &dbaas_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: dbaas-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
+    # source of docker tag
+    docker-use-params-from: yaml-file-params
+    stream:
+      - master:
+          branch: master
+
+- project:
+    name: ric-plt-dbaas
+    # git repo
+    project: ric-plt/dbaas
+    # jenkins job name prefix
+    project-name: '{name}'
+    # image name
+    docker-name: '{name}'
+    # Specify docker file and host network
+    docker-build-args: '--network=host -f docker/Dockerfile.redis'
+    # maven settings file has docker credentials
+    mvn-settings: ric-plt-dbaas-settings
+    jobs:
+      - '{project-name}-gerrit-docker-jobs'
+    <<: *dbaas_docker_common