X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=jjb%2Fit-otf%2Fit-otf.yaml;h=9d33976dd88b0b574cf5cc9721ccb93a6f9f6e64;hb=120e8457896a9fb6572e7b699987fddff7e515ee;hp=3c253226830f8f5ea75ef066b58d79c93139665c;hpb=600f3036329aca2431705cacf064c10f6d325003;p=ci-management.git diff --git a/jjb/it-otf/it-otf.yaml b/jjb/it-otf/it-otf.yaml index 3c253226..9d33976d 100644 --- a/jjb/it-otf/it-otf.yaml +++ b/jjb/it-otf/it-otf.yaml @@ -5,27 +5,28 @@ views: - project-view -- project: - name: it-otf-info - project: it/otf - project-name: it-otf - build-node: centos7-builder-1c-1g - jobs: - - gerrit-info-yaml-verify - -- it_otf_common: &it_otf_common - # values apply to all it/otf docker projects - name: it-otf-docker-common +- _it_otf_common: &it_otf_common # values apply to all it/otf docker projects + name: it_otf_common # git repo project: it/otf # jenkins job name prefix - project-name: it-otf + project-name: "{name}" # source of docker tag container-tag-method: yaml-file # maven settings file has docker credentials mvn-settings: it-otf-settings + # image name + docker-name: "o-ran-sc/{name}" + # 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}/.*" jobs: - - '{project-name}-gerrit-docker-jobs' + - "{project-name}-gerrit-docker-jobs" stream: - master: branch: master @@ -33,135 +34,106 @@ - project: <<: *it_otf_common name: it-otf-oran-ric-test-head - # jenkins job name prefix - project-name: '{name}' - # image name - docker-name: 'o-ran-sc/{name}' # start in parent directory with shared files docker-root: oran-ric-test-head # dockerfile is in subdir of docker root - docker-build-args: '--network=host' + docker-build-args: "--network=host" # tag file is in subdir - container-tag-yaml-dir: '{docker-root}' - # build only on relevant changes - gerrit_trigger_file_paths: - - compare-type: REG_EXP - pattern: '{docker-root}/.*' + container-tag-yaml-dir: "{docker-root}" - project: <<: *it_otf_common name: it-otf-frontend - # jenkins job name prefix - project-name: '{name}' - # image name - docker-name: 'o-ran-sc/{name}' # start in parent directory with shared files docker-root: otf-frontend # dockerfile is in subdir of docker root - docker-build-args: '--network=host' + docker-build-args: "--network=host" # tag file is in subdir - container-tag-yaml-dir: '{docker-root}' - # build only on relevant changes - gerrit_trigger_file_paths: - - compare-type: REG_EXP - pattern: '{docker-root}/.*' + container-tag-yaml-dir: "{docker-root}" - project: <<: *it_otf_common name: it-otf-ping-test-head - # jenkins job name prefix - project-name: '{name}' - # image name - docker-name: 'o-ran-sc/{name}' # start in parent directory with shared files docker-root: otf-ping-test-head # dockerfile is in subdir of docker root - docker-build-args: '--network=host' + docker-build-args: "--network=host" # tag file is in subdir - container-tag-yaml-dir: '{docker-root}' - # build only on relevant changes - gerrit_trigger_file_paths: - - compare-type: REG_EXP - pattern: '{docker-root}/.*' + container-tag-yaml-dir: "{docker-root}" - project: <<: *it_otf_common name: it-otf-robot-test-head - # jenkins job name prefix - project-name: '{name}' - # image name - docker-name: 'o-ran-sc/{name}' # start in parent directory with shared files docker-root: otf-robot-test-head # dockerfile is in subdir of docker root - docker-build-args: '--network=host' + docker-build-args: "--network=host" # tag file is in subdir - container-tag-yaml-dir: '{docker-root}' - # build only on relevant changes - gerrit_trigger_file_paths: - - compare-type: REG_EXP - pattern: '{docker-root}/.*' + container-tag-yaml-dir: "{docker-root}" - project: <<: *it_otf_common name: it-otf-ssh-test-head - # jenkins job name prefix - project-name: '{name}' - # image name - docker-name: 'o-ran-sc/{name}' # start in parent directory with shared files docker-root: otf-ssh-test-head # dockerfile is in subdir of docker root - docker-build-args: '--network=host' + docker-build-args: "--network=host" # tag file is in subdir - container-tag-yaml-dir: '{docker-root}' - # build only on relevant changes - gerrit_trigger_file_paths: - - compare-type: REG_EXP - pattern: '{docker-root}/.*' + container-tag-yaml-dir: "{docker-root}" - project: <<: *it_otf_common name: it-otf-camunda - # jenkins job name prefix - project-name: '{name}' - # image name - docker-name: 'o-ran-sc/{name}' # start in parent directory with shared files docker-root: otf-camunda - # 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-service-api - # jenkins job name prefix - project-name: '{name}' - # image name - docker-name: 'o-ran-sc/{name}' # start in parent directory with shared files docker-root: otf-service-api - # 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-smo-o1-vth + # start in parent directory with shared files + docker-root: smo-o1-vth + +- project: + <<: *it_otf_common + name: it-otf-dmaap-vth + # start in parent directory with shared files + docker-root: dmaap-vth + +- project: + <<: *it_otf_common + name: it-otf-a1-mediator-vth + # start in parent directory with shared files + docker-root: a1-mediator-vth + +- project: + <<: *it_otf_common + name: it-otf-a1-sdnc-vth + # start in parent directory with shared files + docker-root: a1-sdnc-vth + +- project: + <<: *it_otf_common + name: it-otf-a1-policy-manager-vth + # start in parent directory with shared files + docker-root: a1-policy-manager-vth + +- project: name: it-otf-release - branch: master + project: it/otf + # jenkins job name prefix + project-name: it-otf + # source of docker tag + container-tag-method: yaml-file + # maven settings file has docker credentials + mvn-settings: it-otf-settings # maven release requires sigul which requires centos # container release requires docker build-node: centos7-docker-2c-8g jobs: - - '{project-name}-gerrit-release-jobs' + - "{project-name}-gerrit-release-jobs"