blob: 12d221e77897c55a81088e90fba2c2ae2c178a4d [file] [log] [blame]
---
- project:
name: smo-ves-project-view
project-name: smo-ves
views:
- project-view
- project:
name: smo-ves-info
project: smo/ves
project-name: smo-ves
build-node: centos7-builder-1c-1g
jobs:
- gerrit-info-yaml-verify
- ves_docker_common: &ves_docker_common
# values apply to all docker projects
name: ves-docker-common
# git repo
project: smo/ves
# jenkins job name prefix
project-name: smo-ves
# maven settings file has docker credentials
mvn-settings: smo-ves-settings
- project:
<<: *ves_docker_common
name: smo-ves
project-name: '{name}'
# image name
docker-name: 'smo-collector'
# Dockerfile is in a subdir
docker-root: collector
# source of docker tag
container-tag-method: yaml-file
jobs:
- '{project-name}-gerrit-docker-jobs'
stream:
- master:
branch: master
- project:
<<: *ves_docker_common
name: smo-dmaap
project-name: '{name}'
# image name
docker-name: 'smo-dmaap-adapter'
# Dockerfile is in a subdir
docker-root: dmaapadapter
# source of docker tag
container-tag-method: yaml-file
jobs:
- '{project-name}-gerrit-docker-jobs'
stream:
- master:
branch: master
- project:
<<: *ves_docker_common
name: smo-influxdb
project-name: '{name}'
# image name
docker-name: 'smo-influxdb-connector'
# Dockerfile is in a subdir
docker-root: influxdb-connector
# source of docker tag
container-tag-method: yaml-file
jobs:
- '{project-name}-gerrit-docker-jobs'
stream:
- master:
branch: master
- project:
<<: *ves_docker_common
name: smo-ves-release
project-name: '{name}'
# maven release requires sigul which requires centos
# container release requires docker
build-node: centos7-docker-2c-8g
jobs:
- '{project-name}-gerrit-release-jobs'
- project:
<<: *ves_docker_common
name: smo-dmaap-release
project-name: '{name}'
# maven release requires sigul which requires centos
# container release requires docker
build-node: centos7-docker-2c-8g
jobs:
- '{project-name}-gerrit-release-jobs'
- project:
<<: *ves_docker_common
name: smo-influxdb-release
project-name: '{name}'
# maven release requires sigul which requires centos
# container release requires docker
build-node: centos7-docker-2c-8g
jobs:
- '{project-name}-gerrit-release-jobs'
- project:
<<: *ves_docker_common
name: smo-ves-sonarqube
python-version: python3
# the install script assumes an ubuntu image
build-node: ubuntu1804-builder-2c-2g
# pre-build-script: !include-raw-escape:
# - ../shell/install-deb-rmr.sh
sonar-project-file: ""
sonar-properties: |
sonar.login={sonarcloud_api_token}
sonar.projectKey={sonarcloud_project_organization}_{project-name}
sonar.projectName={project-name}
sonar.organization={sonarcloud_project_organization}
sonar.build.sourceEncoding=UTF-8
sonar.sources=a1
sonar.python.coverage.reportPaths=coverage.xml
jobs:
- gerrit-tox-sonarqube