Lott, Christopher (cl778h) | 4050f44 | 2019-07-29 15:07:01 -0400 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: it-dep-project-view |
| 4 | project-name: it-dep |
| 5 | views: |
| 6 | - project-view |
| 7 | |
| 8 | - project: |
| 9 | name: it-dep-info |
| 10 | project: it/dep |
| 11 | project-name: it-dep |
| 12 | build-node: centos7-builder-1c-1g |
| 13 | jobs: |
| 14 | - gerrit-info-yaml-verify |
| 15 | |
| 16 | - it_dep_common: &it_dep_common |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 17 | # values apply to all it/dep docker projects |
Lott, Christopher (cl778h) | 4050f44 | 2019-07-29 15:07:01 -0400 | [diff] [blame] | 18 | name: it-dep-docker-common |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 19 | # git repo |
| 20 | project: it/dep |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 21 | # maven settings file has docker credentials |
| 22 | mvn-settings: it-dep-settings |
Lott, Christopher (cl778h) | 4050f44 | 2019-07-29 15:07:01 -0400 | [diff] [blame] | 23 | # use host network to clone from our gerrit |
| 24 | docker-build-args: '--network=host' |
| 25 | # source of docker tag |
| 26 | container-tag-method: yaml-file |
| 27 | stream: |
| 28 | - master: |
| 29 | branch: master |
| 30 | |
| 31 | - project: |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 32 | <<: *it_dep_common |
Lott, Christopher (cl778h) | 4050f44 | 2019-07-29 15:07:01 -0400 | [diff] [blame] | 33 | # Verify helm charts using a Docker build process. |
| 34 | # no image needs to be pushed, so there is no merge job. |
| 35 | name: it-dep-helm |
Lott, Christopher (cl778h) | 4050f44 | 2019-07-29 15:07:01 -0400 | [diff] [blame] | 36 | # jenkins job name prefix |
| 37 | project-name: '{name}' |
| 38 | # image name |
| 39 | docker-name: '{name}' |
| 40 | # dockerfile is in subdir |
| 41 | docker-build-args: -f ci/Dockerfile |
| 42 | # any tag will do |
| 43 | container-tag-method: latest |
Lott, Christopher (cl778h) | 4050f44 | 2019-07-29 15:07:01 -0400 | [diff] [blame] | 44 | jobs: |
| 45 | - gerrit-docker-verify |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 46 | |
| 47 | - project: |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 48 | <<: *it_dep_common |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 49 | name: it-dep-secret |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 50 | # jenkins job name prefix |
| 51 | project-name: '{name}' |
| 52 | # image name |
| 53 | docker-name: '{name}' |
| 54 | # root of docker build |
Zhe Huang | ef5df87 | 2019-09-03 14:20:23 -0400 | [diff] [blame^] | 55 | docker-root: ric-infra/45-Tiller/docker |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 56 | # build only on relevant changes |
| 57 | gerrit_trigger_file_paths: |
| 58 | - compare-type: REG_EXP |
| 59 | pattern: '{docker-root}/.*' |
| 60 | jobs: |
| 61 | - '{project-name}-gerrit-docker-jobs' |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 62 | |
| 63 | - project: |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 64 | <<: *it_dep_common |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 65 | name: it-dep-init |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 66 | # jenkins job name prefix |
| 67 | project-name: '{name}' |
| 68 | # image name |
| 69 | docker-name: '{name}' |
| 70 | # root of docker build |
| 71 | docker-root: ric-common/Initcontainer/docker |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 72 | gerrit_trigger_file_paths: |
| 73 | - compare-type: REG_EXP |
| 74 | pattern: '{docker-root}/.*' |
| 75 | jobs: |
| 76 | - '{project-name}-gerrit-docker-jobs' |