views:
- project-view
-- sdlpy_common: &sdlpy_common
+- project:
+ name: ric-plt-sdlpy-info
+ project: ric-plt/sdlpy
+ project-name: ric-plt-sdlpy
+ build-node: centos7-builder-1c-1g
+ jobs:
+ - gerrit-info-yaml-verify
+
+- _sdlpy_common: &sdlpy_common
name: sdlpy-common
# git repo
project: ric-plt/sdlpy
# release job requires centos
build-node: centos7-builder-1c-1g
-# committer management
-- project:
- name: ric-plt-sdlpy-info
- <<: *sdlpy_common
- jobs:
- - gerrit-info-yaml-verify
-
# verify distribution and publish to test.pypi.org
- project:
name: ric-plt-sdlpy-pypi
<<: *sdlpy_common
gerrit_trigger_file_paths:
- compare-type: REG_EXP
- pattern: 'ricsdl-package/.*'
+ pattern: "ricsdl-package/.*"
tox-dir: ricsdl-package
jobs:
- - '{project-name}-gerrit-pypi-jobs'
+ - gerrit-pypi-verify
+ - gerrit-pypi-stage
stream:
- master:
branch: master
name: ric-plt-sdlpy-release
<<: *sdlpy_common
jobs:
- - '{project-name}-gerrit-pypi-release-jobs'
+ - "{project-name}-gerrit-pypi-release-jobs"
# analyze unit test coverage
- project:
<<: *sdlpy_common
branch: master
sonarcloud: true
- sonarcloud-api-token: '{sonarcloud_api_token}'
- sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
- sonarcloud-project-organization: '{sonarcloud_project_organization}'
+ sonarcloud-api-token: "{sonarcloud_api_token}"
+ sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}"
+ sonarcloud-project-organization: "{sonarcloud_project_organization}"
tox-dir: ricsdl-package
mvn-params: -f ricsdl-package
jobs: