3 name: com-pylog-project-view
4 project-name: com-pylog
8 - _pylog_common: &pylog_common
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
19 # build package and publish to test.pypi.org
23 # the code is in a subdirectory
25 gerrit_trigger_file_paths:
26 - compare-type: REG_EXP
27 pattern: "mdclogpy/.*"
38 name: com-pylog-docker
40 docker-name: o-ran-sc/com-pylog
41 # source of docker tag
42 container-tag-method: yaml-file
44 docker-build-args: "--network=host"
45 build-node: centos7-docker-2c-8g
46 # do not trigger on changes in docs, releases
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
58 # promote package from test.pypi.org to pypi.org
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).)*$'
68 - "{project-name}-gerrit-pypi-release-jobs"
76 name: com-pylog-sonarqube
77 sonar-project-file: ""
79 sonar.login={sonarcloud_api_token}
80 sonar.projectKey={sonarcloud_project_organization}_{project-name}
81 sonar.projectName={project-name}
82 sonar.organization={sonarcloud_project_organization}
83 sonar.build.sourceEncoding=UTF-8
84 sonar.sources=mdclogpy
85 sonar.python.coverage.reportPaths=$TOX_DIR/coverage.xml
87 - gerrit-tox-sonarqube