From 0d28db12cd162e4b6928799427b04778461b2469 Mon Sep 17 00:00:00 2001 From: "Lott, Christopher (cl778h)" Date: Wed, 5 Jun 2019 11:41:33 -0400 Subject: [PATCH] Add Jenkins verify and merge jobs for DBaaS 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) Change-Id: I7262e1ee1bc3d9dd5b409d37023e80eef00911b2 --- jjb/ric-plt-dbaas/ric-plt-dbaas.yaml | 39 ++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 jjb/ric-plt-dbaas/ric-plt-dbaas.yaml diff --git a/jjb/ric-plt-dbaas/ric-plt-dbaas.yaml b/jjb/ric-plt-dbaas/ric-plt-dbaas.yaml new file mode 100644 index 00000000..d600bafa --- /dev/null +++ b/jjb/ric-plt-dbaas/ric-plt-dbaas.yaml @@ -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 -- 2.16.6