blob: 59b206a798983d672a3a7c63644652a7a931f34d [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
Aric Gardnerda252d22019-10-11 16:10:03 -04008- project:
9 name: ric-plt-sdlpy-info
10 project: ric-plt/sdlpy
11 project-name: ric-plt-sdlpy
12 build-node: centos7-builder-1c-1g
13 jobs:
14 - gerrit-info-yaml-verify
15
Lott, Christopher (cl778h)ca548d42019-12-04 08:44:00 -050016- sdlpy_common: &sdlpy_common
17 name: sdlpy-common
18 # git repo
19 project: ric-plt/sdlpy
20 # jenkins job name prefix
21 project-name: ric-plt-sdlpy
22 # maven settings file has credentials
23 mvn-settings: ric-plt-sdlpy-settings
24 # release job requires centos
25 build-node: centos7-builder-1c-1g
26
Lott, Christopher (cl778h)ca548d42019-12-04 08:44:00 -050027# verify distribution and publish to test.pypi.org
28- project:
29 name: ric-plt-sdlpy-pypi
30 <<: *sdlpy_common
31 gerrit_trigger_file_paths:
32 - compare-type: REG_EXP
33 pattern: 'ricsdl-package/.*'
34 tox-dir: ricsdl-package
35 jobs:
Lott, Christopher (cl778h)7ba379f2020-04-01 08:38:36 -040036 - gerrit-pypi-verify
37 - gerrit-pypi-stage
Lott, Christopher (cl778h)ca548d42019-12-04 08:44:00 -050038 stream:
39 - master:
40 branch: master
41
42# promote distribution from test.pypi.org to pypi.org
43- project:
44 name: ric-plt-sdlpy-release
45 <<: *sdlpy_common
46 jobs:
47 - '{project-name}-gerrit-pypi-release-jobs'
48
49# analyze unit test coverage
50- project:
51 name: ric-plt-sdlpy-sonar
52 <<: *sdlpy_common
53 branch: master
Lott, Christopher (cl778h)ca548d42019-12-04 08:44:00 -050054 sonarcloud: true
55 sonarcloud-api-token: '{sonarcloud_api_token}'
56 sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
57 sonarcloud-project-organization: '{sonarcloud_project_organization}'
58 tox-dir: ricsdl-package
Lott, Christopher (cl778h)6f79b2c2020-01-21 16:55:38 -050059 mvn-params: -f ricsdl-package
Lott, Christopher (cl778h)ca548d42019-12-04 08:44:00 -050060 jobs:
61 - gerrit-tox-sonar