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 |
wrider | aef676e | 2019-11-04 17:03:47 -0500 | [diff] [blame] | 38 | # maven settings file has docker credentials |
| 39 | mvn-settings: it-otf-settings |
| 40 | jobs: |
| 41 | - '{project-name}-gerrit-docker-jobs' |
| 42 | stream: |
| 43 | - master: |
| 44 | branch: master |
| 45 | |
| 46 | - project: |
| 47 | <<: *it_otf_common |
| 48 | name: it-otf-oran-ric-test-head |
| 49 | # jenkins job name prefix |
| 50 | project-name: '{name}' |
| 51 | # image name |
| 52 | docker-name: '{name}' |
| 53 | # start in parent directory with shared files |
| 54 | docker-root: oran-ric-test-head |
| 55 | # dockerfile is in subdir of docker root |
| 56 | docker-build-args: '--network=host' |
| 57 | # tag file is in subdir |
| 58 | container-tag-yaml-dir: '{docker-root}' |
| 59 | # build only on relevant changes |
| 60 | gerrit_trigger_file_paths: |
| 61 | - compare-type: REG_EXP |
| 62 | pattern: '{docker-root}/.*' |
| 63 | |
| 64 | - project: |
| 65 | <<: *it_otf_common |
| 66 | name: it-otf-frontend |
| 67 | # jenkins job name prefix |
| 68 | project-name: '{name}' |
| 69 | # image name |
| 70 | docker-name: '{name}' |
| 71 | # start in parent directory with shared files |
| 72 | docker-root: otf-frontend |
| 73 | # dockerfile is in subdir of docker root |
| 74 | docker-build-args: '--network=host' |
| 75 | # tag file is in subdir |
| 76 | container-tag-yaml-dir: '{docker-root}' |
| 77 | # build only on relevant changes |
| 78 | gerrit_trigger_file_paths: |
| 79 | - compare-type: REG_EXP |
| 80 | pattern: '{docker-root}/.*' |
| 81 | |
| 82 | - project: |
| 83 | <<: *it_otf_common |
| 84 | name: it-otf-ping-test-head |
| 85 | # jenkins job name prefix |
| 86 | project-name: '{name}' |
| 87 | # image name |
| 88 | docker-name: '{name}' |
| 89 | # start in parent directory with shared files |
| 90 | docker-root: otf-ping-test-head |
| 91 | # dockerfile is in subdir of docker root |
| 92 | docker-build-args: '--network=host' |
| 93 | # tag file is in subdir |
| 94 | container-tag-yaml-dir: '{docker-root}' |
| 95 | # build only on relevant changes |
| 96 | gerrit_trigger_file_paths: |
| 97 | - compare-type: REG_EXP |
| 98 | pattern: '{docker-root}/.*' |
| 99 | |
| 100 | - project: |
| 101 | <<: *it_otf_common |
| 102 | name: it-otf-robot-test-head |
| 103 | # jenkins job name prefix |
| 104 | project-name: '{name}' |
| 105 | # image name |
| 106 | docker-name: '{name}' |
| 107 | # start in parent directory with shared files |
| 108 | docker-root: otf-robot-test-head |
| 109 | # dockerfile is in subdir of docker root |
| 110 | docker-build-args: '--network=host' |
| 111 | # tag file is in subdir |
| 112 | container-tag-yaml-dir: '{docker-root}' |
| 113 | # build only on relevant changes |
| 114 | gerrit_trigger_file_paths: |
| 115 | - compare-type: REG_EXP |
| 116 | pattern: '{docker-root}/.*' |
| 117 | |
| 118 | - project: |
| 119 | <<: *it_otf_common |
| 120 | name: it-otf-ssh-test-head |
| 121 | # jenkins job name prefix |
| 122 | project-name: '{name}' |
| 123 | # image name |
| 124 | docker-name: '{name}' |
| 125 | # start in parent directory with shared files |
| 126 | docker-root: otf-ssh-test-head |
| 127 | # dockerfile is in subdir of docker root |
| 128 | docker-build-args: '--network=host' |
| 129 | # tag file is in subdir |
| 130 | container-tag-yaml-dir: '{docker-root}' |
| 131 | # build only on relevant changes |
| 132 | gerrit_trigger_file_paths: |
| 133 | - compare-type: REG_EXP |
| 134 | pattern: '{docker-root}/.*' |
wrider | bcd1d2c | 2019-11-11 22:07:06 -0500 | [diff] [blame^] | 135 | |
| 136 | - project: |
| 137 | <<: *it_otf_common |
| 138 | name: it-otf-camunda |
| 139 | # jenkins job name prefix |
| 140 | project-name: '{name}' |
| 141 | # image name |
| 142 | docker-name: '{name}' |
| 143 | # start in parent directory with shared files |
| 144 | docker-root: otf-camunda |
| 145 | # dockerfile is in subdir of docker root |
| 146 | docker-build-args: '--network=host -f ./docker/Dockerfile' |
| 147 | # tag file is in subdir |
| 148 | container-tag-yaml-dir: '{docker-root}/docker' |
| 149 | # build only on relevant changes |
| 150 | gerrit_trigger_file_paths: |
| 151 | - compare-type: REG_EXP |
| 152 | pattern: '{docker-root}/.*' |
| 153 | |
| 154 | - project: |
| 155 | <<: *it_otf_common |
| 156 | name: it-otf-service-api |
| 157 | # jenkins job name prefix |
| 158 | project-name: '{name}' |
| 159 | # image name |
| 160 | docker-name: '{name}' |
| 161 | # start in parent directory with shared files |
| 162 | docker-root: otf-service-api |
| 163 | # dockerfile is in subdir of docker root |
| 164 | docker-build-args: '--network=host -f ./docker/Dockerfile' |
| 165 | # tag file is in subdir |
| 166 | container-tag-yaml-dir: '{docker-root}/docker' |
| 167 | # build only on relevant changes |
| 168 | gerrit_trigger_file_paths: |
| 169 | - compare-type: REG_EXP |
| 170 | pattern: '{docker-root}/.*' |