blob: d1bae1424d709ce4c8d308d5c0cf359a5ab25cb0 [file] [log] [blame]
Lott, Christopher (cl778h)4050f442019-07-29 15:07:01 -04001---
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)34cf39e2020-02-03 14:16:32 -050017 # values apply to all it/dep projects
Lott, Christopher (cl778h)4050f442019-07-29 15:07:01 -040018 name: it-dep-docker-common
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040019 # git repo
20 project: it/dep
wriderce1967e2019-11-19 00:37:10 -050021 # jenkins job name prefix
22 project-name: it-dep
wriderefd85222019-08-02 00:24:28 -040023 # maven settings file has docker credentials
24 mvn-settings: it-dep-settings
Lott, Christopher (cl778h)4050f442019-07-29 15:07:01 -040025 # 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)4050f442019-07-29 15:07:01 -040029
30- project:
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040031 <<: *it_dep_common
Lott, Christopher (cl778h)4050f442019-07-29 15:07:01 -040032 # 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)4050f442019-07-29 15:07:01 -040035 # jenkins job name prefix
Anil Belur686ba972020-12-11 10:11:58 +100036 build-timeout: 120
Lott, Christopher (cl778h)4050f442019-07-29 15:07:01 -040037 project-name: '{name}'
38 # image name
wriderce1967e2019-11-19 00:37:10 -050039 docker-name: 'o-ran-sc/{name}'
Lott, Christopher (cl778h)4050f442019-07-29 15:07:01 -040040 # dockerfile is in subdir
41 docker-build-args: -f ci/Dockerfile
42 # any tag will do
43 container-tag-method: latest
Zhe Huangb7b561f2020-04-10 11:06:51 -040044 submodule-disable: true
Lott, Christopher (cl778h)4050f442019-07-29 15:07:01 -040045 jobs:
46 - gerrit-docker-verify
Lott, Christopher (cl778h)34cf39e2020-02-03 14:16:32 -050047 stream:
48 - all:
49 branch: '*'
wriderefd85222019-08-02 00:24:28 -040050
wriderd4328de2019-11-05 19:58:47 -050051# build and publish packages to PackageCloud.io
52- project:
53 <<: *it_dep_common
54 name: it-dep-package
55 # jenkins job name prefix
56 project-name: '{name}'
57 # image is not pushed, use trivial tag
58 container-tag-method: latest
59 # image name
wriderce1967e2019-11-19 00:37:10 -050060 docker-name: 'o-ran-sc/{name}'
wriderd4328de2019-11-05 19:58:47 -050061 # use host network for network resources
62 docker-build-args: '--network=host -f ci/Dockerfile-package'
Zhe9d010162020-04-14 18:59:47 -040063 gerrit_trigger_file_paths:
64 - compare-type: REG_EXP
65 pattern: 'ci/package-tag.yaml'
wriderd4328de2019-11-05 19:58:47 -050066 jobs:
67 - gerrit-docker-verify
68 - oran-gerrit-docker-ci-pc-merge
69 stream:
70 - master:
71 branch: master
72
wriderefd85222019-08-02 00:24:28 -040073- project:
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040074 <<: *it_dep_common
wriderefd85222019-08-02 00:24:28 -040075 name: it-dep-secret
wriderefd85222019-08-02 00:24:28 -040076 # jenkins job name prefix
77 project-name: '{name}'
78 # image name
wriderce1967e2019-11-19 00:37:10 -050079 docker-name: 'o-ran-sc/{name}'
wriderefd85222019-08-02 00:24:28 -040080 # root of docker build
Zhe Huanga5f91852020-02-10 15:32:50 -050081 docker-root: ci/tiller-secret-gen
wriderefd85222019-08-02 00:24:28 -040082 # build only on relevant changes
83 gerrit_trigger_file_paths:
84 - compare-type: REG_EXP
85 pattern: '{docker-root}/.*'
86 jobs:
87 - '{project-name}-gerrit-docker-jobs'
Lott, Christopher (cl778h)34cf39e2020-02-03 14:16:32 -050088 stream:
89 - master:
90 branch: master
wriderefd85222019-08-02 00:24:28 -040091
92- project:
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040093 <<: *it_dep_common
wriderefd85222019-08-02 00:24:28 -040094 name: it-dep-init
wriderefd85222019-08-02 00:24:28 -040095 # jenkins job name prefix
96 project-name: '{name}'
97 # image name
wriderce1967e2019-11-19 00:37:10 -050098 docker-name: 'o-ran-sc/{name}'
wriderefd85222019-08-02 00:24:28 -040099 # root of docker build
100 docker-root: ric-common/Initcontainer/docker
wriderefd85222019-08-02 00:24:28 -0400101 gerrit_trigger_file_paths:
102 - compare-type: REG_EXP
103 pattern: '{docker-root}/.*'
104 jobs:
wriderce1967e2019-11-19 00:37:10 -0500105 - '{project-name}-gerrit-docker-jobs'
Lott, Christopher (cl778h)34cf39e2020-02-03 14:16:32 -0500106 stream:
107 - master:
108 branch: master
wriderce1967e2019-11-19 00:37:10 -0500109
110- project:
111 <<: *it_dep_common
112 name: it-dep-release
wriderce1967e2019-11-19 00:37:10 -0500113 # maven release requires sigul which requires centos
114 # container release requires docker
115 build-node: centos7-docker-2c-8g
116 jobs:
117 - '{project-name}-gerrit-release-jobs'
Zhe9d010162020-04-14 18:59:47 -0400118
119
120- project:
121 <<: *it_dep_common
122 name: it-dep-packagecloud-release
123 jobs:
124 - 'gerrit-packagecloud-release-verify'
125 - 'gerrit-packagecloud-release-merge'