blob: e21e9e2fe677e691077e0e4e5c754056eaaaafb4 [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
47- project:
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040048 <<: *it_dep_common
wriderefd85222019-08-02 00:24:28 -040049 name: it-dep-secret
wriderefd85222019-08-02 00:24:28 -040050 # jenkins job name prefix
51 project-name: '{name}'
52 # image name
53 docker-name: '{name}'
54 # root of docker build
Zhe Huangef5df872019-09-03 14:20:23 -040055 docker-root: ric-infra/45-Tiller/docker
wriderefd85222019-08-02 00:24:28 -040056 # build only on relevant changes
57 gerrit_trigger_file_paths:
58 - compare-type: REG_EXP
59 pattern: '{docker-root}/.*'
60 jobs:
61 - '{project-name}-gerrit-docker-jobs'
wriderefd85222019-08-02 00:24:28 -040062
63- project:
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040064 <<: *it_dep_common
wriderefd85222019-08-02 00:24:28 -040065 name: it-dep-init
wriderefd85222019-08-02 00:24:28 -040066 # jenkins job name prefix
67 project-name: '{name}'
68 # image name
69 docker-name: '{name}'
70 # root of docker build
71 docker-root: ric-common/Initcontainer/docker
wriderefd85222019-08-02 00:24:28 -040072 gerrit_trigger_file_paths:
73 - compare-type: REG_EXP
74 pattern: '{docker-root}/.*'
75 jobs:
76 - '{project-name}-gerrit-docker-jobs'