wrider | aef676e | 2019-11-04 17:03:47 -0500 | [diff] [blame] | 1 | --- |
wrider | aef676e | 2019-11-04 17:03:47 -0500 | [diff] [blame] | 2 | - project: |
| 3 | name: it-otf-project-view |
| 4 | project-name: it-otf |
| 5 | views: |
| 6 | - project-view |
| 7 | |
| 8 | - project: |
| 9 | name: it-otf-info |
| 10 | project: it/otf |
| 11 | project-name: it-otf |
| 12 | build-node: centos7-builder-1c-1g |
| 13 | jobs: |
| 14 | - gerrit-info-yaml-verify |
| 15 | |
| 16 | - it_otf_common: &it_otf_common |
| 17 | # values apply to all it/otf docker projects |
| 18 | name: it-otf-docker-common |
| 19 | # git repo |
| 20 | project: it/otf |
wrider | ce1967e | 2019-11-19 00:37:10 -0500 | [diff] [blame] | 21 | # jenkins job name prefix |
| 22 | project-name: it-otf |
wrider | aef676e | 2019-11-04 17:03:47 -0500 | [diff] [blame] | 23 | # source of docker tag |
| 24 | container-tag-method: yaml-file |
wrider | aef676e | 2019-11-04 17:03:47 -0500 | [diff] [blame] | 25 | # maven settings file has docker credentials |
| 26 | mvn-settings: it-otf-settings |
| 27 | jobs: |
| 28 | - '{project-name}-gerrit-docker-jobs' |
| 29 | stream: |
| 30 | - master: |
| 31 | branch: master |
| 32 | |
| 33 | - project: |
| 34 | <<: *it_otf_common |
| 35 | name: it-otf-oran-ric-test-head |
| 36 | # jenkins job name prefix |
| 37 | project-name: '{name}' |
| 38 | # image name |
wrider | ce1967e | 2019-11-19 00:37:10 -0500 | [diff] [blame] | 39 | docker-name: 'o-ran-sc/{name}' |
wrider | aef676e | 2019-11-04 17:03:47 -0500 | [diff] [blame] | 40 | # start in parent directory with shared files |
| 41 | docker-root: oran-ric-test-head |
| 42 | # dockerfile is in subdir of docker root |
| 43 | docker-build-args: '--network=host' |
| 44 | # tag file is in subdir |
| 45 | container-tag-yaml-dir: '{docker-root}' |
| 46 | # build only on relevant changes |
| 47 | gerrit_trigger_file_paths: |
| 48 | - compare-type: REG_EXP |
| 49 | pattern: '{docker-root}/.*' |
| 50 | |
| 51 | - project: |
| 52 | <<: *it_otf_common |
| 53 | name: it-otf-frontend |
| 54 | # jenkins job name prefix |
| 55 | project-name: '{name}' |
| 56 | # image name |
wrider | ce1967e | 2019-11-19 00:37:10 -0500 | [diff] [blame] | 57 | docker-name: 'o-ran-sc/{name}' |
wrider | aef676e | 2019-11-04 17:03:47 -0500 | [diff] [blame] | 58 | # start in parent directory with shared files |
| 59 | docker-root: otf-frontend |
| 60 | # dockerfile is in subdir of docker root |
| 61 | docker-build-args: '--network=host' |
| 62 | # tag file is in subdir |
| 63 | container-tag-yaml-dir: '{docker-root}' |
| 64 | # build only on relevant changes |
| 65 | gerrit_trigger_file_paths: |
| 66 | - compare-type: REG_EXP |
| 67 | pattern: '{docker-root}/.*' |
| 68 | |
| 69 | - project: |
| 70 | <<: *it_otf_common |
| 71 | name: it-otf-ping-test-head |
| 72 | # jenkins job name prefix |
| 73 | project-name: '{name}' |
| 74 | # image name |
wrider | ce1967e | 2019-11-19 00:37:10 -0500 | [diff] [blame] | 75 | docker-name: 'o-ran-sc/{name}' |
wrider | aef676e | 2019-11-04 17:03:47 -0500 | [diff] [blame] | 76 | # start in parent directory with shared files |
| 77 | docker-root: otf-ping-test-head |
| 78 | # dockerfile is in subdir of docker root |
| 79 | docker-build-args: '--network=host' |
| 80 | # tag file is in subdir |
| 81 | container-tag-yaml-dir: '{docker-root}' |
| 82 | # build only on relevant changes |
| 83 | gerrit_trigger_file_paths: |
| 84 | - compare-type: REG_EXP |
| 85 | pattern: '{docker-root}/.*' |
| 86 | |
| 87 | - project: |
| 88 | <<: *it_otf_common |
| 89 | name: it-otf-robot-test-head |
| 90 | # jenkins job name prefix |
| 91 | project-name: '{name}' |
| 92 | # image name |
wrider | ce1967e | 2019-11-19 00:37:10 -0500 | [diff] [blame] | 93 | docker-name: 'o-ran-sc/{name}' |
wrider | aef676e | 2019-11-04 17:03:47 -0500 | [diff] [blame] | 94 | # start in parent directory with shared files |
| 95 | docker-root: otf-robot-test-head |
| 96 | # dockerfile is in subdir of docker root |
| 97 | docker-build-args: '--network=host' |
| 98 | # tag file is in subdir |
| 99 | container-tag-yaml-dir: '{docker-root}' |
| 100 | # build only on relevant changes |
| 101 | gerrit_trigger_file_paths: |
| 102 | - compare-type: REG_EXP |
| 103 | pattern: '{docker-root}/.*' |
| 104 | |
| 105 | - project: |
| 106 | <<: *it_otf_common |
| 107 | name: it-otf-ssh-test-head |
| 108 | # jenkins job name prefix |
| 109 | project-name: '{name}' |
| 110 | # image name |
wrider | ce1967e | 2019-11-19 00:37:10 -0500 | [diff] [blame] | 111 | docker-name: 'o-ran-sc/{name}' |
wrider | aef676e | 2019-11-04 17:03:47 -0500 | [diff] [blame] | 112 | # start in parent directory with shared files |
| 113 | docker-root: otf-ssh-test-head |
| 114 | # dockerfile is in subdir of docker root |
| 115 | docker-build-args: '--network=host' |
| 116 | # tag file is in subdir |
| 117 | container-tag-yaml-dir: '{docker-root}' |
| 118 | # build only on relevant changes |
| 119 | gerrit_trigger_file_paths: |
| 120 | - compare-type: REG_EXP |
| 121 | pattern: '{docker-root}/.*' |
wrider | bcd1d2c | 2019-11-11 22:07:06 -0500 | [diff] [blame] | 122 | |
| 123 | - project: |
| 124 | <<: *it_otf_common |
| 125 | name: it-otf-camunda |
| 126 | # jenkins job name prefix |
| 127 | project-name: '{name}' |
| 128 | # image name |
wrider | ce1967e | 2019-11-19 00:37:10 -0500 | [diff] [blame] | 129 | docker-name: 'o-ran-sc/{name}' |
wrider | bcd1d2c | 2019-11-11 22:07:06 -0500 | [diff] [blame] | 130 | # start in parent directory with shared files |
| 131 | docker-root: otf-camunda |
| 132 | # dockerfile is in subdir of docker root |
| 133 | docker-build-args: '--network=host -f ./docker/Dockerfile' |
| 134 | # tag file is in subdir |
| 135 | container-tag-yaml-dir: '{docker-root}/docker' |
| 136 | # build only on relevant changes |
| 137 | gerrit_trigger_file_paths: |
| 138 | - compare-type: REG_EXP |
| 139 | pattern: '{docker-root}/.*' |
| 140 | |
| 141 | - project: |
| 142 | <<: *it_otf_common |
| 143 | name: it-otf-service-api |
| 144 | # jenkins job name prefix |
| 145 | project-name: '{name}' |
| 146 | # image name |
wrider | ce1967e | 2019-11-19 00:37:10 -0500 | [diff] [blame] | 147 | docker-name: 'o-ran-sc/{name}' |
wrider | bcd1d2c | 2019-11-11 22:07:06 -0500 | [diff] [blame] | 148 | # start in parent directory with shared files |
| 149 | docker-root: otf-service-api |
| 150 | # dockerfile is in subdir of docker root |
| 151 | docker-build-args: '--network=host -f ./docker/Dockerfile' |
| 152 | # tag file is in subdir |
| 153 | container-tag-yaml-dir: '{docker-root}/docker' |
| 154 | # build only on relevant changes |
| 155 | gerrit_trigger_file_paths: |
| 156 | - compare-type: REG_EXP |
| 157 | pattern: '{docker-root}/.*' |
wrider | ce1967e | 2019-11-19 00:37:10 -0500 | [diff] [blame] | 158 | |
| 159 | - project: |
| 160 | <<: *it_otf_common |
| 161 | name: it-otf-release |
| 162 | branch: master |
| 163 | # maven release requires sigul which requires centos |
| 164 | # container release requires docker |
| 165 | build-node: centos7-docker-2c-8g |
| 166 | jobs: |
| 167 | - '{project-name}-gerrit-release-jobs' |