Alex Stancu | 32fe511 | 2019-11-14 20:14:13 +0200 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: sim-o1-interface-project-view |
| 4 | project-name: sim-o1-interface |
| 5 | views: |
| 6 | - project-view |
| 7 | |
| 8 | - project: |
| 9 | name: sim-o1-interface-info |
| 10 | project: sim/o1-interface |
| 11 | project-name: sim-o1-interface |
| 12 | branch: master |
| 13 | jobs: |
| 14 | - gerrit-info-yaml-verify |
| 15 | |
| 16 | - sim_o1_interface_common: &sim_o1_interface_common |
| 17 | # values apply to all sim/o1-interface docker projects |
| 18 | name: sim-o1-interface-common |
| 19 | # git repo |
| 20 | project: sim/o1-interface |
| 21 | # maven settings file has docker credentials |
| 22 | mvn-settings: sim-o1-interface-settings |
| 23 | # source of docker tag |
| 24 | container-tag-method: yaml-file |
| 25 | |
| 26 | - project: |
| 27 | <<: *sim_o1_interface_common |
| 28 | name: sim-o1-interface-manager |
| 29 | # jenkins job name prefix |
| 30 | project-name: '{name}' |
| 31 | # image name |
| 32 | docker-name: '{name}' |
| 33 | docker-root: ntsimulator |
| 34 | # dockerfile is in subdir; needed because Dockerfile includes files outside of build context |
| 35 | docker-build-args: '--network=host -f deploy/manager/Dockerfile' |
| 36 | # tag file is in subdir |
| 37 | container-tag-yaml-dir: ntsimulator/deploy/manager |
| 38 | gerrit_trigger_file_paths: |
| 39 | - compare-type: REG_EXP |
| 40 | pattern: 'ntsimulator/deploy/manager/.*' |
| 41 | - compare-type: REG_EXP |
| 42 | pattern: 'ntsimulator/src/ntsimulator-manager/.*' |
| 43 | - compare-type: REG_EXP |
| 44 | pattern: 'ntsimulator/yang/manager/.*' |
| 45 | jobs: |
| 46 | - '{project-name}-gerrit-docker-jobs' |
| 47 | stream: |
| 48 | - master: |
| 49 | branch: master |
| 50 | |
| 51 | - project: |
| 52 | <<: *sim_o1_interface_common |
| 53 | name: sim-o1-interface-device |
| 54 | # jenkins job name prefix |
| 55 | project-name: '{name}' |
| 56 | # image name |
| 57 | docker-name: '{name}' |
| 58 | docker-root: ntsimulator |
| 59 | # dockerfile is in subdir; needed because Dockerfile includes files outside of build context |
| 60 | docker-build-args: '--network=host -f deploy/Dockerfile' |
| 61 | # tag file is in subdir |
| 62 | container-tag-yaml-dir: ntsimulator/deploy |
| 63 | gerrit_trigger_file_paths: |
| 64 | - compare-type: REG_EXP |
| 65 | pattern: 'ntsimulator/.*' |
| 66 | jobs: |
| 67 | - '{project-name}-gerrit-docker-jobs' |
| 68 | stream: |
| 69 | - master: |
| 70 | branch: master |