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) | 34cf39e | 2020-02-03 14:16:32 -0500 | [diff] [blame] | 17 | # values apply to all it/dep 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 |
Lott, Christopher (cl778h) | 4050f44 | 2019-07-29 15:07:01 -0400 | [diff] [blame] | 29 | |
| 30 | - project: |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 31 | <<: *it_dep_common |
Lott, Christopher (cl778h) | 4050f44 | 2019-07-29 15:07:01 -0400 | [diff] [blame] | 32 | # Verify helm charts using a Docker build process. |
| 33 | # no image needs to be pushed, so there is no merge job. |
| 34 | name: it-dep-helm |
Lott, Christopher (cl778h) | 4050f44 | 2019-07-29 15:07:01 -0400 | [diff] [blame] | 35 | # jenkins job name prefix |
Anil Belur | 686ba97 | 2020-12-11 10:11:58 +1000 | [diff] [blame] | 36 | build-timeout: 120 |
Lott, Christopher (cl778h) | 4050f44 | 2019-07-29 15:07:01 -0400 | [diff] [blame] | 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}' |
Lott, Christopher (cl778h) | 4050f44 | 2019-07-29 15:07:01 -0400 | [diff] [blame] | 40 | # dockerfile is in subdir |
| 41 | docker-build-args: -f ci/Dockerfile |
| 42 | # any tag will do |
| 43 | container-tag-method: latest |
Zhe Huang | b7b561f | 2020-04-10 11:06:51 -0400 | [diff] [blame] | 44 | submodule-disable: true |
Lott, Christopher (cl778h) | 4050f44 | 2019-07-29 15:07:01 -0400 | [diff] [blame] | 45 | jobs: |
| 46 | - gerrit-docker-verify |
Lott, Christopher (cl778h) | 34cf39e | 2020-02-03 14:16:32 -0500 | [diff] [blame] | 47 | stream: |
| 48 | - all: |
| 49 | branch: '*' |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 50 | |
sebdet | 126efe9 | 2021-10-22 13:39:13 +0200 | [diff] [blame] | 51 | - project: |
| 52 | <<: *it_dep_common |
| 53 | # Verify helm charts using a Docker build process. |
| 54 | # no image needs to be pushed, so there is no merge job. |
| 55 | name: it-dep-smo-install |
| 56 | # jenkins job name prefix |
| 57 | build-timeout: 120 |
| 58 | project-name: '{name}' |
| 59 | # image name |
| 60 | docker-name: 'o-ran-sc/{name}' |
| 61 | # dockerfile is in subdir |
| 62 | docker-build-args: -f ci/Dockerfile-smo-install |
| 63 | # any tag will do |
| 64 | container-tag-method: latest |
| 65 | submodule-disable: true |
| 66 | jobs: |
| 67 | - gerrit-docker-verify |
| 68 | stream: |
| 69 | - all: |
| 70 | branch: '*' |
| 71 | |
wrider | d4328de | 2019-11-05 19:58:47 -0500 | [diff] [blame] | 72 | # build and publish packages to PackageCloud.io |
| 73 | - project: |
| 74 | <<: *it_dep_common |
| 75 | name: it-dep-package |
| 76 | # jenkins job name prefix |
| 77 | project-name: '{name}' |
| 78 | # image is not pushed, use trivial tag |
| 79 | container-tag-method: latest |
| 80 | # image name |
wrider | ce1967e | 2019-11-19 00:37:10 -0500 | [diff] [blame] | 81 | docker-name: 'o-ran-sc/{name}' |
wrider | d4328de | 2019-11-05 19:58:47 -0500 | [diff] [blame] | 82 | # use host network for network resources |
| 83 | docker-build-args: '--network=host -f ci/Dockerfile-package' |
Zhe | 9d01016 | 2020-04-14 18:59:47 -0400 | [diff] [blame] | 84 | gerrit_trigger_file_paths: |
| 85 | - compare-type: REG_EXP |
| 86 | pattern: 'ci/package-tag.yaml' |
wrider | d4328de | 2019-11-05 19:58:47 -0500 | [diff] [blame] | 87 | jobs: |
| 88 | - gerrit-docker-verify |
| 89 | - oran-gerrit-docker-ci-pc-merge |
| 90 | stream: |
| 91 | - master: |
| 92 | branch: master |
| 93 | |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 94 | - project: |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 95 | <<: *it_dep_common |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 96 | name: it-dep-secret |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 97 | # jenkins job name prefix |
| 98 | project-name: '{name}' |
| 99 | # image name |
wrider | ce1967e | 2019-11-19 00:37:10 -0500 | [diff] [blame] | 100 | docker-name: 'o-ran-sc/{name}' |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 101 | # root of docker build |
Zhe Huang | a5f9185 | 2020-02-10 15:32:50 -0500 | [diff] [blame] | 102 | docker-root: ci/tiller-secret-gen |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 103 | # build only on relevant changes |
| 104 | gerrit_trigger_file_paths: |
| 105 | - compare-type: REG_EXP |
| 106 | pattern: '{docker-root}/.*' |
| 107 | jobs: |
| 108 | - '{project-name}-gerrit-docker-jobs' |
Lott, Christopher (cl778h) | 34cf39e | 2020-02-03 14:16:32 -0500 | [diff] [blame] | 109 | stream: |
| 110 | - master: |
| 111 | branch: master |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 112 | |
| 113 | - project: |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 114 | <<: *it_dep_common |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 115 | name: it-dep-init |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 116 | # jenkins job name prefix |
| 117 | project-name: '{name}' |
| 118 | # image name |
wrider | ce1967e | 2019-11-19 00:37:10 -0500 | [diff] [blame] | 119 | docker-name: 'o-ran-sc/{name}' |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 120 | # root of docker build |
| 121 | docker-root: ric-common/Initcontainer/docker |
wrider | efd8522 | 2019-08-02 00:24:28 -0400 | [diff] [blame] | 122 | gerrit_trigger_file_paths: |
| 123 | - compare-type: REG_EXP |
| 124 | pattern: '{docker-root}/.*' |
| 125 | jobs: |
wrider | ce1967e | 2019-11-19 00:37:10 -0500 | [diff] [blame] | 126 | - '{project-name}-gerrit-docker-jobs' |
Lott, Christopher (cl778h) | 34cf39e | 2020-02-03 14:16:32 -0500 | [diff] [blame] | 127 | stream: |
| 128 | - master: |
| 129 | branch: master |
wrider | ce1967e | 2019-11-19 00:37:10 -0500 | [diff] [blame] | 130 | |
| 131 | - project: |
| 132 | <<: *it_dep_common |
| 133 | name: it-dep-release |
wrider | ce1967e | 2019-11-19 00:37:10 -0500 | [diff] [blame] | 134 | # maven release requires sigul which requires centos |
| 135 | # container release requires docker |
| 136 | build-node: centos7-docker-2c-8g |
| 137 | jobs: |
| 138 | - '{project-name}-gerrit-release-jobs' |
Zhe | 9d01016 | 2020-04-14 18:59:47 -0400 | [diff] [blame] | 139 | |
| 140 | |
| 141 | - project: |
| 142 | <<: *it_dep_common |
| 143 | name: it-dep-packagecloud-release |
| 144 | jobs: |
| 145 | - 'gerrit-packagecloud-release-verify' |
| 146 | - 'gerrit-packagecloud-release-merge' |