| --- |
| - 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-postconfig |
| project-name: '{name}' |
| # image name |
| docker-name: 'smo-post-config' |
| # Dockerfile is in a subdir |
| docker-root: postconfig |
| # 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 |
| # impt for verify and tox etc |
| tox-envs: code,flake8 |
| 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=collector |
| sonar.python.coverage.reportPaths=coverage.xml |
| jobs: |
| - gerrit-tox-sonar |