wrider | 4c5f04c | 2019-11-15 16:53:34 -0500 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: ric-app-ml-project-view |
| 4 | project-name: ric-app-ml |
| 5 | views: |
| 6 | - project-view |
| 7 | |
| 8 | - project: |
| 9 | name: ric-app-ml-info |
| 10 | project: ric-app/ml |
| 11 | project-name: ric-app-ml |
| 12 | build-node: centos7-builder-1c-1g |
| 13 | jobs: |
| 14 | - gerrit-info-yaml-verify |
| 15 | |
| 16 | - ric_app_ml_docker_common: &ric_app_ml_docker_common |
| 17 | # values apply to all ml docker projects |
| 18 | name: ric-app-ml-docker-common |
| 19 | # git repo |
| 20 | project: ric-app/ml |
| 21 | # jenkins job name prefix |
| 22 | project-name: ric-app-ml |
| 23 | # maven settings file has docker credentials |
| 24 | mvn-settings: ric-app-ml-settings |
| 25 | |
| 26 | - project: |
| 27 | <<: *ric_app_ml_docker_common |
| 28 | name: ric-app-ml |
| 29 | # image name |
wrider | aa7f783 | 2019-11-19 00:45:23 -0500 | [diff] [blame] | 30 | docker-name: 'o-ran-sc/{name}' |
wrider | 4c5f04c | 2019-11-15 16:53:34 -0500 | [diff] [blame] | 31 | # root of docker build |
| 32 | docker-root: AcumosXappAdapter |
| 33 | # source of docker tag |
| 34 | container-tag-method: yaml-file |
| 35 | # use host network to clone from our gerrit |
| 36 | docker-build-args: '--network=host' |
| 37 | gerrit_trigger_file_paths: |
| 38 | - compare-type: REG_EXP |
| 39 | pattern: '{docker-root}/.*' |
| 40 | jobs: |
| 41 | - '{project-name}-gerrit-docker-jobs' |
| 42 | stream: |
| 43 | - master: |
| 44 | branch: master |
wrider | aa7f783 | 2019-11-19 00:45:23 -0500 | [diff] [blame] | 45 | |
| 46 | - project: |
| 47 | <<: *ric_app_ml_docker_common |
| 48 | name: ric-app-ml-release |
wrider | aa7f783 | 2019-11-19 00:45:23 -0500 | [diff] [blame] | 49 | # maven release requires sigul which requires centos |
| 50 | # container release requires docker |
| 51 | build-node: centos7-docker-2c-8g |
| 52 | jobs: |
| 53 | - '{project-name}-gerrit-release-jobs' |