From: Lusheng Ji Date: Fri, 22 May 2020 01:46:07 +0000 (-0400) Subject: Add JJB for 3 new jobs of docker img building X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=cfb66127f79acac7fb8e352dbd89543b2bb2959c;p=ci-management.git Add JJB for 3 new jobs of docker img building 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 --- diff --git a/jjb/it-otf/it-otf.yaml b/jjb/it-otf/it-otf.yaml index 3c253226..e4ff23de 100644 --- a/jjb/it-otf/it-otf.yaml +++ b/jjb/it-otf/it-otf.yaml @@ -156,6 +156,60 @@ - 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