From: wrider Date: Fri, 15 Nov 2019 21:53:34 +0000 (-0500) Subject: Add CI job for RICAPP Machine Learning X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=4c5f04c5c31d5c1b8c34e4b2c842161fc1c5beb1;p=ci-management.git Add CI job for RICAPP Machine Learning The build has been verified in Jenkins sandbox: https://jenkins.o-ran-sc.org/sandbox/me/my-views/view/all/job/ric-app-ml-docker-verify-master/ Change-Id: I94e31712fd1e34b2d08d335aa03513d89534fe32 Signed-off-by: wrider --- diff --git a/jjb/ric-app-ml/ric-app-ml.yaml b/jjb/ric-app-ml/ric-app-ml.yaml new file mode 100644 index 00000000..88f44812 --- /dev/null +++ b/jjb/ric-app-ml/ric-app-ml.yaml @@ -0,0 +1,44 @@ +--- +- project: + name: ric-app-ml-project-view + project-name: ric-app-ml + views: + - project-view + +- project: + name: ric-app-ml-info + project: ric-app/ml + project-name: ric-app-ml + build-node: centos7-builder-1c-1g + jobs: + - gerrit-info-yaml-verify + +- ric_app_ml_docker_common: &ric_app_ml_docker_common + # values apply to all ml docker projects + name: ric-app-ml-docker-common + # git repo + project: ric-app/ml + # jenkins job name prefix + project-name: ric-app-ml + # maven settings file has docker credentials + mvn-settings: ric-app-ml-settings + +- project: + <<: *ric_app_ml_docker_common + name: ric-app-ml + # image name + docker-name: '{name}' + # root of docker build + docker-root: AcumosXappAdapter + # source of docker tag + container-tag-method: yaml-file + # use host network to clone from our gerrit + docker-build-args: '--network=host' + gerrit_trigger_file_paths: + - compare-type: REG_EXP + pattern: '{docker-root}/.*' + jobs: + - '{project-name}-gerrit-docker-jobs' + stream: + - master: + branch: master