blob: 653428bd241d105093a354de54003b188e912544 [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
36 project-name: '{name}'
37 # image name
wriderce1967e2019-11-19 00:37:10 -050038 docker-name: 'o-ran-sc/{name}'
Lott, Christopher (cl778h)4050f442019-07-29 15:07:01 -040039 # dockerfile is in subdir
40 docker-build-args: -f ci/Dockerfile
41 # any tag will do
42 container-tag-method: latest
Zhe Huangb7b561f2020-04-10 11:06:51 -040043 submodule-disable: true
Lott, Christopher (cl778h)4050f442019-07-29 15:07:01 -040044 jobs:
45 - gerrit-docker-verify
Lott, Christopher (cl778h)34cf39e2020-02-03 14:16:32 -050046 stream:
47 - all:
48 branch: '*'
wriderefd85222019-08-02 00:24:28 -040049
wriderd4328de2019-11-05 19:58:47 -050050# build and publish packages to PackageCloud.io
51- project:
52 <<: *it_dep_common
53 name: it-dep-package
54 # jenkins job name prefix
55 project-name: '{name}'
56 # image is not pushed, use trivial tag
57 container-tag-method: latest
58 # image name
wriderce1967e2019-11-19 00:37:10 -050059 docker-name: 'o-ran-sc/{name}'
wriderd4328de2019-11-05 19:58:47 -050060 # use host network for network resources
61 docker-build-args: '--network=host -f ci/Dockerfile-package'
Zhe9d010162020-04-14 18:59:47 -040062 gerrit_trigger_file_paths:
63 - compare-type: REG_EXP
64 pattern: 'ci/package-tag.yaml'
wriderd4328de2019-11-05 19:58:47 -050065 jobs:
66 - gerrit-docker-verify
67 - oran-gerrit-docker-ci-pc-merge
68 stream:
69 - master:
70 branch: master
71
wriderefd85222019-08-02 00:24:28 -040072- project:
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040073 <<: *it_dep_common
wriderefd85222019-08-02 00:24:28 -040074 name: it-dep-secret
wriderefd85222019-08-02 00:24:28 -040075 # jenkins job name prefix
76 project-name: '{name}'
77 # image name
wriderce1967e2019-11-19 00:37:10 -050078 docker-name: 'o-ran-sc/{name}'
wriderefd85222019-08-02 00:24:28 -040079 # root of docker build
Zhe Huanga5f91852020-02-10 15:32:50 -050080 docker-root: ci/tiller-secret-gen
wriderefd85222019-08-02 00:24:28 -040081 # build only on relevant changes
82 gerrit_trigger_file_paths:
83 - compare-type: REG_EXP
84 pattern: '{docker-root}/.*'
85 jobs:
86 - '{project-name}-gerrit-docker-jobs'
Lott, Christopher (cl778h)34cf39e2020-02-03 14:16:32 -050087 stream:
88 - master:
89 branch: master
wriderefd85222019-08-02 00:24:28 -040090
91- project:
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040092 <<: *it_dep_common
wriderefd85222019-08-02 00:24:28 -040093 name: it-dep-init
wriderefd85222019-08-02 00:24:28 -040094 # jenkins job name prefix
95 project-name: '{name}'
96 # image name
wriderce1967e2019-11-19 00:37:10 -050097 docker-name: 'o-ran-sc/{name}'
wriderefd85222019-08-02 00:24:28 -040098 # root of docker build
99 docker-root: ric-common/Initcontainer/docker
wriderefd85222019-08-02 00:24:28 -0400100 gerrit_trigger_file_paths:
101 - compare-type: REG_EXP
102 pattern: '{docker-root}/.*'
103 jobs:
wriderce1967e2019-11-19 00:37:10 -0500104 - '{project-name}-gerrit-docker-jobs'
Lott, Christopher (cl778h)34cf39e2020-02-03 14:16:32 -0500105 stream:
106 - master:
107 branch: master
wriderce1967e2019-11-19 00:37:10 -0500108
109- project:
110 <<: *it_dep_common
111 name: it-dep-release
wriderce1967e2019-11-19 00:37:10 -0500112 # maven release requires sigul which requires centos
113 # container release requires docker
114 build-node: centos7-docker-2c-8g
115 jobs:
116 - '{project-name}-gerrit-release-jobs'
Zhe9d010162020-04-14 18:59:47 -0400117
118
119- project:
120 <<: *it_dep_common
121 name: it-dep-packagecloud-release
122 jobs:
123 - 'gerrit-packagecloud-release-verify'
124 - 'gerrit-packagecloud-release-merge'