Lott, Christopher (cl778h) | 8c8d717 | 2019-07-23 13:55:19 -0400 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: it-test-project-view |
| 4 | project-name: it-test |
| 5 | views: |
| 6 | - project-view |
| 7 | |
| 8 | - project: |
| 9 | name: it-test-info |
| 10 | project: it/test |
| 11 | project-name: it-test |
| 12 | build-node: centos7-builder-1c-1g |
| 13 | jobs: |
| 14 | - gerrit-info-yaml-verify |
| 15 | |
| 16 | - it_test_common: &it_test_common |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 17 | # values apply to all it/test docker projects |
Lott, Christopher (cl778h) | 8c8d717 | 2019-07-23 13:55:19 -0400 | [diff] [blame] | 18 | name: it-test-docker-common |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 19 | # git repo |
| 20 | project: it/test |
Lott, Christopher (cl778h) | 8c8d717 | 2019-07-23 13:55:19 -0400 | [diff] [blame] | 21 | # source of docker tag |
| 22 | container-tag-method: yaml-file |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 23 | # use host network to clone from our gerrit |
| 24 | docker-build-args: '--network=host' |
| 25 | # maven settings file has docker credentials |
| 26 | mvn-settings: it-test-settings |
| 27 | jobs: |
| 28 | - '{project-name}-gerrit-docker-jobs' |
Lott, Christopher (cl778h) | 8c8d717 | 2019-07-23 13:55:19 -0400 | [diff] [blame] | 29 | stream: |
| 30 | - master: |
| 31 | branch: master |
| 32 | |
| 33 | - project: |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 34 | <<: *it_test_common |
Lott, Christopher (cl778h) | 8c8d717 | 2019-07-23 13:55:19 -0400 | [diff] [blame] | 35 | name: it-test-nanobot |
Lott, Christopher (cl778h) | 8c8d717 | 2019-07-23 13:55:19 -0400 | [diff] [blame] | 36 | # jenkins job name prefix |
| 37 | project-name: '{name}' |
| 38 | # image name |
| 39 | docker-name: '{name}' |
Lott, Christopher (cl778h) | 04e1b92 | 2019-07-26 13:00:19 -0400 | [diff] [blame] | 40 | # start in parent directory with shared files |
| 41 | docker-root: ric_robot_suite |
| 42 | # dockerfile is in subdir of docker root |
Lott, Christopher (cl778h) | 2fd3a3e | 2019-09-06 10:34:46 -0400 | [diff] [blame] | 43 | docker-build-args: '--network=host -f docker/nanobot/Dockerfile' |
Lott, Christopher (cl778h) | 04e1b92 | 2019-07-26 13:00:19 -0400 | [diff] [blame] | 44 | # tag file is in subdir |
| 45 | container-tag-yaml-dir: ric_robot_suite/docker/nanobot |
Lott, Christopher (cl778h) | 04e1b92 | 2019-07-26 13:00:19 -0400 | [diff] [blame] | 46 | # build only on relevant changes |
| 47 | gerrit_trigger_file_paths: |
| 48 | - compare-type: REG_EXP |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 49 | pattern: '{docker-root}/.*' |
Lott, Christopher (cl778h) | 8c8d717 | 2019-07-23 13:55:19 -0400 | [diff] [blame] | 50 | |
| 51 | - project: |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 52 | <<: *it_test_common |
Lott, Christopher (cl778h) | 8c8d717 | 2019-07-23 13:55:19 -0400 | [diff] [blame] | 53 | name: it-test-ric-robot |
Lott, Christopher (cl778h) | 8c8d717 | 2019-07-23 13:55:19 -0400 | [diff] [blame] | 54 | # jenkins job name prefix |
| 55 | project-name: '{name}' |
| 56 | # image name |
| 57 | docker-name: '{name}' |
Lott, Christopher (cl778h) | 04e1b92 | 2019-07-26 13:00:19 -0400 | [diff] [blame] | 58 | # start in parent directory with shared files |
| 59 | docker-root: ric_robot_suite |
| 60 | # dockerfile is in subdir of docker root |
Lott, Christopher (cl778h) | 2fd3a3e | 2019-09-06 10:34:46 -0400 | [diff] [blame] | 61 | docker-build-args: '--network=host -f docker/ric-robot/Dockerfile' |
Lott, Christopher (cl778h) | 04e1b92 | 2019-07-26 13:00:19 -0400 | [diff] [blame] | 62 | # tag file is in subdir |
| 63 | container-tag-yaml-dir: ric_robot_suite/docker/ric-robot |
Lott, Christopher (cl778h) | 04e1b92 | 2019-07-26 13:00:19 -0400 | [diff] [blame] | 64 | # build only on relevant changes |
| 65 | gerrit_trigger_file_paths: |
| 66 | - compare-type: REG_EXP |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 67 | pattern: '{docker-root}/.*' |