Add docker build job and view for ric-plt/a1 37/237/3
authorLott, Christopher (cl778h) <cl778h@att.com>
Sat, 1 Jun 2019 11:03:27 +0000 (07:03 -0400)
committerLott, Christopher (cl778h) <cl778h@att.com>
Sun, 2 Jun 2019 00:07:54 +0000 (20:07 -0400)
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: If64cc1e4c2dd63e803460ded4a39f605f0588504

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

diff --git a/jjb/ric-plt-a1/ric-plt-a1.yaml b/jjb/ric-plt-a1/ric-plt-a1.yaml
new file mode 100644 (file)
index 0000000..aa543d2
--- /dev/null
@@ -0,0 +1,39 @@
+---
+- project:
+    name: ric-plt-a1-project-view
+    project-name: ric-plt-a1
+    views:
+      - project-view
+
+- a1_docker_common: &a1_docker_common
+    # values apply to all RIC docker-build projects.
+    # factored out in case a1 needs multiple projects.
+    # use a specific name to prevent reuse attempts
+    # bcos anchors don't cross document boundaries.
+    name: a1-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-a1
+    # git repo
+    project: ric-plt/a1
+    # jenkins job name prefix
+    project-name: '{name}'
+    # image name
+    docker-name: '{name}'
+    # maven settings file has docker credentials
+    mvn-settings: ric-plt-a1-settings
+    jobs:
+      - '{project-name}-gerrit-docker-jobs'
+    <<: *a1_docker_common