blob: f882359c52dc9864ae4ac36db076af1144471280 [file] [log] [blame]
Lott, Christopher (cl778h)ca548d42019-12-04 08:44:00 -05001---
2- project:
3 name: ric-plt-sdlpy-project-view
4 project-name: ric-plt-sdlpy
5 views:
6 - project-view
7
8- sdlpy_common: &sdlpy_common
9 name: sdlpy-common
10 # git repo
11 project: ric-plt/sdlpy
12 # jenkins job name prefix
13 project-name: ric-plt-sdlpy
14 # maven settings file has credentials
15 mvn-settings: ric-plt-sdlpy-settings
16 # release job requires centos
17 build-node: centos7-builder-1c-1g
18
19# committer management
20- project:
21 name: ric-plt-sdlpy-info
22 <<: *sdlpy_common
23 jobs:
24 - gerrit-info-yaml-verify
25
26# verify distribution and publish to test.pypi.org
27- project:
28 name: ric-plt-sdlpy-pypi
29 <<: *sdlpy_common
30 gerrit_trigger_file_paths:
31 - compare-type: REG_EXP
32 pattern: 'ricsdl-package/.*'
33 tox-dir: ricsdl-package
34 jobs:
35 - '{project-name}-gerrit-pypi-jobs'
36 stream:
37 - master:
38 branch: master
39
40# promote distribution from test.pypi.org to pypi.org
41- project:
42 name: ric-plt-sdlpy-release
43 <<: *sdlpy_common
44 jobs:
45 - '{project-name}-gerrit-pypi-release-jobs'
46
47# analyze unit test coverage
48- project:
49 name: ric-plt-sdlpy-sonar
50 <<: *sdlpy_common
51 branch: master
52 python-version: python3
53 sonarcloud: true
54 sonarcloud-api-token: '{sonarcloud_api_token}'
55 sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
56 sonarcloud-project-organization: '{sonarcloud_project_organization}'
57 tox-dir: ricsdl-package
58 jobs:
59 - gerrit-tox-sonar