Add jobs to build integration test Docker images 44/544/1
authorLott, Christopher (cl778h) <cl778h@att.com>
Tue, 23 Jul 2019 17:55:19 +0000 (13:55 -0400)
committerLott, Christopher (cl778h) <cl778h@att.com>
Tue, 23 Jul 2019 17:55:19 +0000 (13:55 -0400)
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I718e49772fc1d4d3e064fd999ad4726fe4063871

jjb/it-test/it-test.yaml [new file with mode: 0644]

diff --git a/jjb/it-test/it-test.yaml b/jjb/it-test/it-test.yaml
new file mode 100644 (file)
index 0000000..4089b63
--- /dev/null
@@ -0,0 +1,64 @@
+---
+- project:
+    name: it-test-project-view
+    project-name: it-test
+    views:
+      - project-view
+
+- project:
+    name: it-test-info
+    project: it/test
+    project-name: it-test
+    build-node: centos7-builder-1c-1g
+    jobs:
+      - gerrit-info-yaml-verify
+
+- it_test_common: &it_test_common
+    # values apply to all RIC docker-build projects.
+    # use a specific name to prevent reuse attempts
+    # bcos anchors don't cross document boundaries.
+    name: it-test-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: it-test-nanobot
+    # git repo
+    project: it/test
+    # jenkins job name prefix
+    project-name: '{name}'
+    # image name
+    docker-name: '{name}'
+    # subdirectory
+    docker-root: 'ric_robot_suite/docker/nanobot'
+    # maven settings file has docker credentials
+    mvn-settings: it-test-settings
+    jobs:
+      - '{project-name}-gerrit-docker-jobs'
+    <<: *it_test_common
+
+- project:
+    name: it-test-ric-robot
+    # git repo
+    project: it/test
+    # jenkins job name prefix
+    project-name: '{name}'
+    # image name
+    docker-name: '{name}'
+    # subdirectory
+    docker-root: 'ric_robot_suite/docker/ric-robot'
+    # maven settings file has docker credentials
+    mvn-settings: it-test-settings
+    jobs:
+      - '{project-name}-gerrit-docker-jobs'
+    <<: *it_test_common