Define jobs for subscription manager (submgr) 77/477/1
authorLott, Christopher (cl778h) <cl778h@att.com>
Fri, 5 Jul 2019 17:15:36 +0000 (13:15 -0400)
committerLott, Christopher (cl778h) <cl778h@att.com>
Fri, 5 Jul 2019 17:15:36 +0000 (13:15 -0400)
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: Ia95927e51845d27ad223f6d3869e9b7828112b1c

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

diff --git a/jjb/ric-plt-submgr/ric-plt-submgr.yaml b/jjb/ric-plt-submgr/ric-plt-submgr.yaml
new file mode 100644 (file)
index 0000000..7639ebd
--- /dev/null
@@ -0,0 +1,48 @@
+---
+- project:
+    name: ric-plt-submgr-project-view
+    project-name: ric-plt-submgr
+    views:
+      - project-view
+
+- submgr_docker_common: &submgr_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: submgr-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
+    container-tag-method: yaml-file
+    stream:
+      - master:
+          branch: master
+
+- project:
+    name: ric-plt-submgr
+    # git repo
+    project: ric-plt/submgr
+    # jenkins job name prefix
+    project-name: '{name}'
+    # image name
+    docker-name: '{name}'
+    # maven settings file has docker credentials
+    mvn-settings: ric-plt-submgr-settings
+    jobs:
+      - '{project-name}-gerrit-docker-jobs'
+    <<: *submgr_docker_common
+
+- project:
+    name: ric-plt-submgr-info
+    project: ric-plt/submgr
+    project-name: ric-plt-submgr
+    build-node: centos7-builder-1c-1g
+
+    jobs:
+      - gerrit-info-yaml-verify