bcd9659316e0677bf11e8896998e3abd77faa335
[ci-management.git] / com-pylog.yaml
1 ---
2 - project:
3     name: com-pylog-project-view
4     project-name: com-pylog
5     views:
6       - project-view
7
8 - project:
9     name: com-pylog-info
10     project: com/pylog
11     project-name: com-pylog
12     build-node: centos7-builder-1c-1g
13     jobs:
14       - gerrit-info-yaml-verify
15
16 - pylog_common: &pylog_common
17     name: pylog-common
18     # git repo
19     project: com/pylog
20     # jenkins job name prefix
21     project-name: com-pylog
22     # maven settings file has docker credentials
23     mvn-settings: com-pylog-settings
24     # sigul requires centos
25     build-node: centos7-builder-1c-1g
26
27 # build package and publish to test.pypi.org
28 - project:
29     <<: *pylog_common
30     name: pylog-pypi
31     stream:
32       - master:
33           branch: master
34     jobs:
35       - '{project-name}-gerrit-pypi-jobs'
36
37 # promote package from test.pypi.org to pypi.org
38 - project:
39     <<: *pylog_common
40     name: pylog-pypi-release
41     jobs:
42       - '{project-name}-gerrit-pypi-release-jobs'