wrider | aef676e | 2019-11-04 17:03:47 -0500 | [diff] [blame] | 1 | --- |
| 2 | # Copyright (c) 2019 AT&T Intellectual Property. |
| 3 | # Copyright (c) 2019 Nokia. |
| 4 | # |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | |
| 17 | - project: |
| 18 | name: it-otf-project-view |
| 19 | project-name: it-otf |
| 20 | views: |
| 21 | - project-view |
| 22 | |
| 23 | - project: |
| 24 | name: it-otf-info |
| 25 | project: it/otf |
| 26 | project-name: it-otf |
| 27 | build-node: centos7-builder-1c-1g |
| 28 | jobs: |
| 29 | - gerrit-info-yaml-verify |
| 30 | |
| 31 | - it_otf_common: &it_otf_common |
| 32 | # values apply to all it/otf docker projects |
| 33 | name: it-otf-docker-common |
| 34 | # git repo |
| 35 | project: it/otf |
| 36 | # source of docker tag |
| 37 | container-tag-method: yaml-file |
| 38 | # use host network to clone from our gerrit |
| 39 | docker-build-args: '--network=host' |
| 40 | # maven settings file has docker credentials |
| 41 | mvn-settings: it-otf-settings |
| 42 | jobs: |
| 43 | - '{project-name}-gerrit-docker-jobs' |
| 44 | stream: |
| 45 | - master: |
| 46 | branch: master |
| 47 | |
| 48 | - project: |
| 49 | <<: *it_otf_common |
| 50 | name: it-otf-oran-ric-test-head |
| 51 | # jenkins job name prefix |
| 52 | project-name: '{name}' |
| 53 | # image name |
| 54 | docker-name: '{name}' |
| 55 | # start in parent directory with shared files |
| 56 | docker-root: oran-ric-test-head |
| 57 | # dockerfile is in subdir of docker root |
| 58 | docker-build-args: '--network=host' |
| 59 | # tag file is in subdir |
| 60 | container-tag-yaml-dir: '{docker-root}' |
| 61 | # build only on relevant changes |
| 62 | gerrit_trigger_file_paths: |
| 63 | - compare-type: REG_EXP |
| 64 | pattern: '{docker-root}/.*' |
| 65 | |
| 66 | - project: |
| 67 | <<: *it_otf_common |
| 68 | name: it-otf-frontend |
| 69 | # jenkins job name prefix |
| 70 | project-name: '{name}' |
| 71 | # image name |
| 72 | docker-name: '{name}' |
| 73 | # start in parent directory with shared files |
| 74 | docker-root: otf-frontend |
| 75 | # dockerfile is in subdir of docker root |
| 76 | docker-build-args: '--network=host' |
| 77 | # tag file is in subdir |
| 78 | container-tag-yaml-dir: '{docker-root}' |
| 79 | # build only on relevant changes |
| 80 | gerrit_trigger_file_paths: |
| 81 | - compare-type: REG_EXP |
| 82 | pattern: '{docker-root}/.*' |
| 83 | |
| 84 | - project: |
| 85 | <<: *it_otf_common |
| 86 | name: it-otf-ping-test-head |
| 87 | # jenkins job name prefix |
| 88 | project-name: '{name}' |
| 89 | # image name |
| 90 | docker-name: '{name}' |
| 91 | # start in parent directory with shared files |
| 92 | docker-root: otf-ping-test-head |
| 93 | # dockerfile is in subdir of docker root |
| 94 | docker-build-args: '--network=host' |
| 95 | # tag file is in subdir |
| 96 | container-tag-yaml-dir: '{docker-root}' |
| 97 | # build only on relevant changes |
| 98 | gerrit_trigger_file_paths: |
| 99 | - compare-type: REG_EXP |
| 100 | pattern: '{docker-root}/.*' |
| 101 | |
| 102 | - project: |
| 103 | <<: *it_otf_common |
| 104 | name: it-otf-robot-test-head |
| 105 | # jenkins job name prefix |
| 106 | project-name: '{name}' |
| 107 | # image name |
| 108 | docker-name: '{name}' |
| 109 | # start in parent directory with shared files |
| 110 | docker-root: otf-robot-test-head |
| 111 | # dockerfile is in subdir of docker root |
| 112 | docker-build-args: '--network=host' |
| 113 | # tag file is in subdir |
| 114 | container-tag-yaml-dir: '{docker-root}' |
| 115 | # build only on relevant changes |
| 116 | gerrit_trigger_file_paths: |
| 117 | - compare-type: REG_EXP |
| 118 | pattern: '{docker-root}/.*' |
| 119 | |
| 120 | - project: |
| 121 | <<: *it_otf_common |
| 122 | name: it-otf-ssh-test-head |
| 123 | # jenkins job name prefix |
| 124 | project-name: '{name}' |
| 125 | # image name |
| 126 | docker-name: '{name}' |
| 127 | # start in parent directory with shared files |
| 128 | docker-root: otf-ssh-test-head |
| 129 | # dockerfile is in subdir of docker root |
| 130 | docker-build-args: '--network=host' |
| 131 | # tag file is in subdir |
| 132 | container-tag-yaml-dir: '{docker-root}' |
| 133 | # build only on relevant changes |
| 134 | gerrit_trigger_file_paths: |
| 135 | - compare-type: REG_EXP |
| 136 | pattern: '{docker-root}/.*' |