blob: a203a757710e502f3e509c28a539c0c8f2f59459 [file] [log] [blame]
---
- dcaegen2_platform_common: &dcaegen2_platform_common
# values apply to all dcaegen2_platform docker projects
name: dcaegen2-platform-docker-common
# git repo
project: dcaegen2/platform
# maven settings file has docker credentials
mvn-settings: dcaegen2-platform-settings
# use host network to clone from our gerrit
docker-build-args: '--network=host'
# source of docker tag
# container-tag-method: yaml-file
# until everything needed for yaml-file is in place
container-tag-method: latest
build-node: ubuntu1604-docker-8c-8g
# jenkins job name prefix
project-name: '{name}'
tox-dir: '{docker-root}'
# build only on relevant changes
gerrit_trigger_file_paths:
- compare-type: REG_EXP
pattern: '{docker-root}/.*'
- project:
name: dcaegen2-platform-aoadapter-project-view
project-name: dcaegen2-platform-aoadapter
views:
- project-view
- project:
<<: *dcaegen2_platform_common
name: dcaegen2-platform-aoadapter
# root of docker build
docker-root: adapter/acumos
# tag override
docker-get-container-tag-script: ../../shell/docker-ts-tag-override.sh
# image name
docker-name: 'onap/{name}'
stream:
- master:
branch: master
jobs:
- '{project-name}-gerrit-docker-jobs'
- project:
<<: *dcaegen2_platform_common
name: dcagen2-platform-aoadapter-verify
docker-root: adapter/acumos
stream:
- all:
branch: '*'
jobs:
- gerrit-tox-verify
- project:
<<: *dcaegen2_platform_common
name: dcaegen2-platform-aoadapter-sonar
docker-root: adapter/acumos
branch: master
jobs:
- gerrit-tox-sonar
cron: '@daily'
- project:
<<: *dcaegen2_platform_common
name: dcaegen2-platform-aoadapter-clm
docker-root: adapter/acumos
jobs:
- gerrit-maven-clm
nexus-iq-namespace: 'onap-'
project-name: 'dcaegen2-platform-aoadapter-clm'
mvn-params: '-f adapter/acumos/pom.xml'
branch: 'master'