Add JJB for 3 new jobs of docker img building 92/3792/1
authorLusheng Ji <lji@research.att.com>
Fri, 22 May 2020 01:46:07 +0000 (21:46 -0400)
committerLusheng Ji <lji@research.att.com>
Fri, 22 May 2020 01:46:14 +0000 (21:46 -0400)
The OTF repo now has code for 3 new VTHs.  This submission adds the docker
job definitions for building docker container images for these 3 VTHs.
The definitions have been test successful on Jenkins sandbox:
https://jenkins.o-ran-sc.org/sandbox/view/All/.

Change-Id: I3a983f9b8ad9fff96a94eefa900fb1ae71769269
Signed-off-by: Lusheng Ji <lji@research.att.com>
jjb/it-otf/it-otf.yaml

index 3c25322..e4ff23d 100644 (file)
       - compare-type: REG_EXP
         pattern: '{docker-root}/.*'
 
+- project:
+    <<: *it_otf_common
+    name: it-otf-smo-o1-vth
+    # jenkins job name prefix
+    project-name: '{name}'
+    # image name
+    docker-name: 'o-ran-sc/{name}'
+    # start in parent directory with shared files
+    docker-root: smo-o1-vth
+    # dockerfile is in subdir of docker root
+    docker-build-args: '--network=host -f ./docker/Dockerfile'
+    # tag file is in subdir
+    container-tag-yaml-dir: '{docker-root}/docker'
+    # build only on relevant changes
+    gerrit_trigger_file_paths:
+      - compare-type: REG_EXP
+        pattern: '{docker-root}/.*'
+
+- project:
+    <<: *it_otf_common
+    name: it-otf-dmaap-vth
+    # jenkins job name prefix
+    project-name: '{name}'
+    # image name
+    docker-name: 'o-ran-sc/{name}'
+    # start in parent directory with shared files
+    docker-root: dmaap-vth
+    # dockerfile is in subdir of docker root
+    docker-build-args: '--network=host -f ./docker/Dockerfile'
+    # tag file is in subdir
+    container-tag-yaml-dir: '{docker-root}/docker'
+    # build only on relevant changes
+    gerrit_trigger_file_paths:
+      - compare-type: REG_EXP
+        pattern: '{docker-root}/.*'
+
+- project:
+    <<: *it_otf_common
+    name: it-otf-a1-mediator-vth
+    # jenkins job name prefix
+    project-name: '{name}'
+    # image name
+    docker-name: 'o-ran-sc/{name}'
+    # start in parent directory with shared files
+    docker-root: a1-mediator-vth
+    # dockerfile is in subdir of docker root
+    docker-build-args: '--network=host -f ./docker/Dockerfile'
+    # tag file is in subdir
+    container-tag-yaml-dir: '{docker-root}/docker'
+    # build only on relevant changes
+    gerrit_trigger_file_paths:
+      - compare-type: REG_EXP
+        pattern: '{docker-root}/.*'
+
 - project:
     <<: *it_otf_common
     name: it-otf-release