CI: Disable INFO verify jobs
[ci-management.git] / jjb / com-pylog / com-pylog.yaml
1 ---
2 - project:
3     name: com-pylog-project-view
4     project-name: com-pylog
5     views:
6       - project-view
7
8 - _pylog_common: &pylog_common
9     name: pylog-common
10     # git repo
11     project: com/pylog
12     # jenkins job name prefix
13     project-name: com-pylog
14     # maven settings file has docker credentials
15     mvn-settings: com-pylog-settings
16     # sigul requires centos
17     build-node: centos7-builder-1c-1g
18
19 # build package and publish to test.pypi.org
20 - project:
21     <<: *pylog_common
22     name: pylog-pypi
23     # the code is in a subdirectory
24     tox-dir: mdclogpy
25     gerrit_trigger_file_paths:
26       - compare-type: REG_EXP
27         pattern: "mdclogpy/.*"
28     stream:
29       - master:
30           branch: master
31     jobs:
32       - gerrit-pypi-verify
33       - gerrit-pypi-merge
34       - gerrit-pypi-stage
35
36 - project:
37     <<: *pylog_common
38     name: com-pylog-docker
39     # image name
40     docker-name: o-ran-sc/com-pylog
41     # source of docker tag
42     container-tag-method: yaml-file
43     # use host network
44     docker-build-args: "--network=host"
45     build-node: centos7-docker-2c-8g
46     # do not trigger on changes in docs, releases
47
48 - _pylog_python: &pylog_python # settings for python builds
49     name: com-pylog-python
50     # the install script assumes an ubuntu image
51     build-node: ubuntu1804-builder-2c-2g
52     # impt for verify and tox etc
53     python-version: python3
54     # no need to verify docs
55     tox-envs: py3
56     tox-dir: mdclogpy
57
58 # promote package from test.pypi.org to pypi.org
59 - project:
60     <<: *pylog_python
61     <<: *pylog_common
62     name: pylog-pypi-release
63     # do not trigger on changes in docs, releases
64     gerrit_trigger_file_paths:
65       - compare-type: REG_EXP
66         pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$'
67     jobs:
68       - "{project-name}-gerrit-pypi-release-jobs"
69       - gerrit-tox-verify
70     stream:
71       - master:
72           branch: master
73
74 - project:
75     <<: *pylog_common
76     <<: *pylog_python
77     name: com-pylog-sonarqube
78     sonar-project-file: ""
79     sonar-properties: |
80       sonar.login={sonarcloud_api_token}
81       sonar.projectKey={sonarcloud_project_organization}_{project-name}
82       sonar.projectName={project-name}
83       sonar.organization={sonarcloud_project_organization}
84       sonar.build.sourceEncoding=UTF-8
85       sonar.sources=mdclogpy
86       sonar.python.coverage.reportPaths=$TOX_DIR/coverage.xml
87     jobs:
88       - gerrit-tox-sonarqube