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 | ce1967e | 2019-11-19 00:37:10 -0500 | [diff] [blame^] | 21 | # jenkins job name prefix |
| 22 | project-name: it-dep |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 23 | # maven settings file has docker credentials |
| 24 | mvn-settings: it-dep-settings |
Lott, Christopher (cl778h) | 4050f44 | 2019-07-29 15:07:01 -0400 | [diff] [blame] | 25 | # use host network to clone from our gerrit |
| 26 | docker-build-args: '--network=host' |
| 27 | # source of docker tag |
| 28 | container-tag-method: yaml-file |
| 29 | stream: |
| 30 | - master: |
| 31 | branch: master |
| 32 | |
| 33 | - project: |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 34 | <<: *it_dep_common |
Lott, Christopher (cl778h) | 4050f44 | 2019-07-29 15:07:01 -0400 | [diff] [blame] | 35 | # Verify helm charts using a Docker build process. |
| 36 | # no image needs to be pushed, so there is no merge job. |
| 37 | name: it-dep-helm |
Lott, Christopher (cl778h) | 4050f44 | 2019-07-29 15:07:01 -0400 | [diff] [blame] | 38 | # jenkins job name prefix |
| 39 | project-name: '{name}' |
| 40 | # image name |
wrider | ce1967e | 2019-11-19 00:37:10 -0500 | [diff] [blame^] | 41 | docker-name: 'o-ran-sc/{name}' |
Lott, Christopher (cl778h) | 4050f44 | 2019-07-29 15:07:01 -0400 | [diff] [blame] | 42 | # dockerfile is in subdir |
| 43 | docker-build-args: -f ci/Dockerfile |
| 44 | # any tag will do |
| 45 | container-tag-method: latest |
Lott, Christopher (cl778h) | 4050f44 | 2019-07-29 15:07:01 -0400 | [diff] [blame] | 46 | jobs: |
| 47 | - gerrit-docker-verify |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 48 | |
wrider | d4328de | 2019-11-05 19:58:47 -0500 | [diff] [blame] | 49 | # build and publish packages to PackageCloud.io |
| 50 | - project: |
| 51 | <<: *it_dep_common |
| 52 | name: it-dep-package |
| 53 | # jenkins job name prefix |
| 54 | project-name: '{name}' |
| 55 | # image is not pushed, use trivial tag |
| 56 | container-tag-method: latest |
| 57 | # image name |
wrider | ce1967e | 2019-11-19 00:37:10 -0500 | [diff] [blame^] | 58 | docker-name: 'o-ran-sc/{name}' |
wrider | d4328de | 2019-11-05 19:58:47 -0500 | [diff] [blame] | 59 | # use host network for network resources |
| 60 | docker-build-args: '--network=host -f ci/Dockerfile-package' |
| 61 | jobs: |
| 62 | - gerrit-docker-verify |
| 63 | - oran-gerrit-docker-ci-pc-merge |
| 64 | stream: |
| 65 | - master: |
| 66 | branch: master |
| 67 | |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 68 | - project: |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 69 | <<: *it_dep_common |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 70 | name: it-dep-secret |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 71 | # jenkins job name prefix |
| 72 | project-name: '{name}' |
| 73 | # image name |
wrider | ce1967e | 2019-11-19 00:37:10 -0500 | [diff] [blame^] | 74 | docker-name: 'o-ran-sc/{name}' |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 75 | # root of docker build |
Zhe Huang | ef5df87 | 2019-09-03 14:20:23 -0400 | [diff] [blame] | 76 | docker-root: ric-infra/45-Tiller/docker |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 77 | # build only on relevant changes |
| 78 | gerrit_trigger_file_paths: |
| 79 | - compare-type: REG_EXP |
| 80 | pattern: '{docker-root}/.*' |
| 81 | jobs: |
| 82 | - '{project-name}-gerrit-docker-jobs' |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 83 | |
| 84 | - project: |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 85 | <<: *it_dep_common |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 86 | name: it-dep-init |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 87 | # jenkins job name prefix |
| 88 | project-name: '{name}' |
| 89 | # image name |
wrider | ce1967e | 2019-11-19 00:37:10 -0500 | [diff] [blame^] | 90 | docker-name: 'o-ran-sc/{name}' |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 91 | # root of docker build |
| 92 | docker-root: ric-common/Initcontainer/docker |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 93 | gerrit_trigger_file_paths: |
| 94 | - compare-type: REG_EXP |
| 95 | pattern: '{docker-root}/.*' |
| 96 | jobs: |
wrider | ce1967e | 2019-11-19 00:37:10 -0500 | [diff] [blame^] | 97 | - '{project-name}-gerrit-docker-jobs' |
| 98 | |
| 99 | - project: |
| 100 | <<: *it_dep_common |
| 101 | name: it-dep-release |
| 102 | branch: master |
| 103 | # maven release requires sigul which requires centos |
| 104 | # container release requires docker |
| 105 | build-node: centos7-docker-2c-8g |
| 106 | jobs: |
| 107 | - '{project-name}-gerrit-release-jobs' |
| 108 | |