blob: 6cc505d0adeb2ae6582a9acc9bd8d8873486e9d6 [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)3f5f89b2019-08-05 10:25:58 -040017 # values apply to all it/dep docker 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
wriderefd85222019-08-02 00:24:28 -040021 # maven settings file has docker credentials
22 mvn-settings: it-dep-settings
Lott, Christopher (cl778h)4050f442019-07-29 15:07:01 -040023 # use host network to clone from our gerrit
24 docker-build-args: '--network=host'
25 # source of docker tag
26 container-tag-method: yaml-file
27 stream:
28 - master:
29 branch: master
30
31- project:
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040032 <<: *it_dep_common
Lott, Christopher (cl778h)4050f442019-07-29 15:07:01 -040033 # Verify helm charts using a Docker build process.
34 # no image needs to be pushed, so there is no merge job.
35 name: it-dep-helm
Lott, Christopher (cl778h)4050f442019-07-29 15:07:01 -040036 # jenkins job name prefix
37 project-name: '{name}'
38 # image name
39 docker-name: '{name}'
40 # dockerfile is in subdir
41 docker-build-args: -f ci/Dockerfile
42 # any tag will do
43 container-tag-method: latest
Lott, Christopher (cl778h)4050f442019-07-29 15:07:01 -040044 jobs:
45 - gerrit-docker-verify
wriderefd85222019-08-02 00:24:28 -040046
wriderd4328de2019-11-05 19:58:47 -050047# build and publish packages to PackageCloud.io
48- project:
49 <<: *it_dep_common
50 name: it-dep-package
51 # jenkins job name prefix
52 project-name: '{name}'
53 # image is not pushed, use trivial tag
54 container-tag-method: latest
55 # image name
56 docker-name: '{name}'
57 # use host network for network resources
58 docker-build-args: '--network=host -f ci/Dockerfile-package'
59 jobs:
60 - gerrit-docker-verify
61 - oran-gerrit-docker-ci-pc-merge
62 stream:
63 - master:
64 branch: master
65
wriderefd85222019-08-02 00:24:28 -040066- project:
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040067 <<: *it_dep_common
wriderefd85222019-08-02 00:24:28 -040068 name: it-dep-secret
wriderefd85222019-08-02 00:24:28 -040069 # jenkins job name prefix
70 project-name: '{name}'
71 # image name
72 docker-name: '{name}'
73 # root of docker build
Zhe Huangef5df872019-09-03 14:20:23 -040074 docker-root: ric-infra/45-Tiller/docker
wriderefd85222019-08-02 00:24:28 -040075 # build only on relevant changes
76 gerrit_trigger_file_paths:
77 - compare-type: REG_EXP
78 pattern: '{docker-root}/.*'
79 jobs:
80 - '{project-name}-gerrit-docker-jobs'
wriderefd85222019-08-02 00:24:28 -040081
82- project:
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040083 <<: *it_dep_common
wriderefd85222019-08-02 00:24:28 -040084 name: it-dep-init
wriderefd85222019-08-02 00:24:28 -040085 # jenkins job name prefix
86 project-name: '{name}'
87 # image name
88 docker-name: '{name}'
89 # root of docker build
90 docker-root: ric-common/Initcontainer/docker
wriderefd85222019-08-02 00:24:28 -040091 gerrit_trigger_file_paths:
92 - compare-type: REG_EXP
93 pattern: '{docker-root}/.*'
94 jobs:
wriderd4328de2019-11-05 19:58:47 -050095 - '{project-name}-gerrit-docker-jobs'