blob: e21e9e2fe677e691077e0e4e5c754056eaaaafb4 [file] [log] [blame]
---
- project:
name: it-dep-project-view
project-name: it-dep
views:
- project-view
- project:
name: it-dep-info
project: it/dep
project-name: it-dep
build-node: centos7-builder-1c-1g
jobs:
- gerrit-info-yaml-verify
- it_dep_common: &it_dep_common
# values apply to all it/dep docker projects
name: it-dep-docker-common
# git repo
project: it/dep
# maven settings file has docker credentials
mvn-settings: it-dep-settings
# use host network to clone from our gerrit
docker-build-args: '--network=host'
# source of docker tag
container-tag-method: yaml-file
stream:
- master:
branch: master
- project:
<<: *it_dep_common
# Verify helm charts using a Docker build process.
# no image needs to be pushed, so there is no merge job.
name: it-dep-helm
# jenkins job name prefix
project-name: '{name}'
# image name
docker-name: '{name}'
# dockerfile is in subdir
docker-build-args: -f ci/Dockerfile
# any tag will do
container-tag-method: latest
jobs:
- gerrit-docker-verify
- project:
<<: *it_dep_common
name: it-dep-secret
# jenkins job name prefix
project-name: '{name}'
# image name
docker-name: '{name}'
# root of docker build
docker-root: ric-infra/45-Tiller/docker
# build only on relevant changes
gerrit_trigger_file_paths:
- compare-type: REG_EXP
pattern: '{docker-root}/.*'
jobs:
- '{project-name}-gerrit-docker-jobs'
- project:
<<: *it_dep_common
name: it-dep-init
# jenkins job name prefix
project-name: '{name}'
# image name
docker-name: '{name}'
# root of docker build
docker-root: ric-common/Initcontainer/docker
gerrit_trigger_file_paths:
- compare-type: REG_EXP
pattern: '{docker-root}/.*'
jobs:
- '{project-name}-gerrit-docker-jobs'