blob: b7bdc5f1d516049be0a5c9ed6f20a2c4d24b12ce [file] [log] [blame]
---
- project:
name: scp-ric-app-kpimon-project-view
project-name: scp-ric-app-kpimon
views:
- project-view
- kpimon_common: &kpimon_common
# values apply to all projects
name: kpimon-common
# git repo
project: scp/ric-app/kpimon
# jenkins prefix
project-name: scp-ric-app-kpimon
# maven settings file has docker credentials
mvn-settings: scp-ric-app-kpimon-settings
# verify INFO.yaml changes
- project:
<<: *kpimon_common
name: scp-ric-app-kpimon-verify
build-node: centos7-builder-1c-1g
jobs:
- gerrit-info-yaml-verify
# create docker image when source changes
- project:
<<: *kpimon_common
# also used as image name
name: scp-ric-app-kpimon
# image name
docker-name: 'o-ran-sc/{name}'
# source type of image tag
container-tag-method: yaml-file
# use host network
docker-build-args: '--network=host'
# trigger on any change other than a file in ./docs
gerrit_trigger_file_paths:
- compare-type: REG_EXP
pattern: '^((?!docs/|\/COMMIT_MSG).)*$'
jobs:
- '{project-name}-gerrit-docker-jobs'
stream:
- master:
branch: master
# push nexus image from staging to release
- project:
<<: *kpimon_common
name: scp-ric-app-kpimon-release
# maven release requires sigul which requires centos
# container release requires docker
build-node: centos7-docker-2c-8g
jobs:
- '{project-name}-gerrit-release-jobs'