blob: 076c30b3037ff98cbdfd2d5dcf6ed55e3442e9ee [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
Lott, Christopher (cl778h)4050f442019-07-29 15:07:01 -040043 jobs:
44 - gerrit-docker-verify
Lott, Christopher (cl778h)34cf39e2020-02-03 14:16:32 -050045 stream:
46 - all:
47 branch: '*'
wriderefd85222019-08-02 00:24:28 -040048
wriderd4328de2019-11-05 19:58:47 -050049# 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
wriderce1967e2019-11-19 00:37:10 -050058 docker-name: 'o-ran-sc/{name}'
wriderd4328de2019-11-05 19:58:47 -050059 # 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
wriderefd85222019-08-02 00:24:28 -040068- project:
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040069 <<: *it_dep_common
wriderefd85222019-08-02 00:24:28 -040070 name: it-dep-secret
wriderefd85222019-08-02 00:24:28 -040071 # jenkins job name prefix
72 project-name: '{name}'
73 # image name
wriderce1967e2019-11-19 00:37:10 -050074 docker-name: 'o-ran-sc/{name}'
wriderefd85222019-08-02 00:24:28 -040075 # root of docker build
Zhe Huanga5f91852020-02-10 15:32:50 -050076 docker-root: ci/tiller-secret-gen
wriderefd85222019-08-02 00:24:28 -040077 # 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'
Lott, Christopher (cl778h)34cf39e2020-02-03 14:16:32 -050083 stream:
84 - master:
85 branch: master
wriderefd85222019-08-02 00:24:28 -040086
87- project:
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040088 <<: *it_dep_common
wriderefd85222019-08-02 00:24:28 -040089 name: it-dep-init
wriderefd85222019-08-02 00:24:28 -040090 # jenkins job name prefix
91 project-name: '{name}'
92 # image name
wriderce1967e2019-11-19 00:37:10 -050093 docker-name: 'o-ran-sc/{name}'
wriderefd85222019-08-02 00:24:28 -040094 # root of docker build
95 docker-root: ric-common/Initcontainer/docker
wriderefd85222019-08-02 00:24:28 -040096 gerrit_trigger_file_paths:
97 - compare-type: REG_EXP
98 pattern: '{docker-root}/.*'
99 jobs:
wriderce1967e2019-11-19 00:37:10 -0500100 - '{project-name}-gerrit-docker-jobs'
Lott, Christopher (cl778h)34cf39e2020-02-03 14:16:32 -0500101 stream:
102 - master:
103 branch: master
wriderce1967e2019-11-19 00:37:10 -0500104
105- project:
106 <<: *it_dep_common
107 name: it-dep-release
108 branch: master
109 # maven release requires sigul which requires centos
110 # container release requires docker
111 build-node: centos7-docker-2c-8g
112 jobs:
113 - '{project-name}-gerrit-release-jobs'