blob: 56d9b9e53e9ddeedd338bf9673a8c6d6758c41c0 [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
sebdet126efe92021-10-22 13:39:13 +020051- 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
wriderd4328de2019-11-05 19:58:47 -050072# 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
wriderce1967e2019-11-19 00:37:10 -050081 docker-name: 'o-ran-sc/{name}'
wriderd4328de2019-11-05 19:58:47 -050082 # use host network for network resources
83 docker-build-args: '--network=host -f ci/Dockerfile-package'
Zhe9d010162020-04-14 18:59:47 -040084 gerrit_trigger_file_paths:
85 - compare-type: REG_EXP
86 pattern: 'ci/package-tag.yaml'
wriderd4328de2019-11-05 19:58:47 -050087 jobs:
88 - gerrit-docker-verify
89 - oran-gerrit-docker-ci-pc-merge
90 stream:
91 - master:
92 branch: master
93
wriderefd85222019-08-02 00:24:28 -040094- project:
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040095 <<: *it_dep_common
wriderefd85222019-08-02 00:24:28 -040096 name: it-dep-secret
wriderefd85222019-08-02 00:24:28 -040097 # jenkins job name prefix
98 project-name: '{name}'
99 # image name
wriderce1967e2019-11-19 00:37:10 -0500100 docker-name: 'o-ran-sc/{name}'
wriderefd85222019-08-02 00:24:28 -0400101 # root of docker build
Zhe Huanga5f91852020-02-10 15:32:50 -0500102 docker-root: ci/tiller-secret-gen
wriderefd85222019-08-02 00:24:28 -0400103 # 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)34cf39e2020-02-03 14:16:32 -0500109 stream:
110 - master:
111 branch: master
wriderefd85222019-08-02 00:24:28 -0400112
113- project:
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -0400114 <<: *it_dep_common
wriderefd85222019-08-02 00:24:28 -0400115 name: it-dep-init
wriderefd85222019-08-02 00:24:28 -0400116 # jenkins job name prefix
117 project-name: '{name}'
118 # image name
wriderce1967e2019-11-19 00:37:10 -0500119 docker-name: 'o-ran-sc/{name}'
wriderefd85222019-08-02 00:24:28 -0400120 # root of docker build
121 docker-root: ric-common/Initcontainer/docker
wriderefd85222019-08-02 00:24:28 -0400122 gerrit_trigger_file_paths:
123 - compare-type: REG_EXP
124 pattern: '{docker-root}/.*'
125 jobs:
wriderce1967e2019-11-19 00:37:10 -0500126 - '{project-name}-gerrit-docker-jobs'
Lott, Christopher (cl778h)34cf39e2020-02-03 14:16:32 -0500127 stream:
128 - master:
129 branch: master
wriderce1967e2019-11-19 00:37:10 -0500130
131- project:
132 <<: *it_dep_common
133 name: it-dep-release
wriderce1967e2019-11-19 00:37:10 -0500134 # 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'
Zhe9d010162020-04-14 18:59:47 -0400139
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'