jobs:
- gerrit-info-yaml-verify
-- py_common: &py_common
+- _py_common: &py_common
name: xapp-frame-py-common
# git repo
project: ric-plt/xapp-frame-py
tox-envs: code,flake8
build-node: ubuntu1804-builder-2c-2g
pre-build-script: !include-raw-escape:
- - ../shell/install-deb-nng-rmr.sh
+ - ../shell/install-deb-rmr.sh
+ - ../shell/install-deb-e2ap.sh
- project:
name: ric-plt-xapp-frame-py-pypi
<<: *py_common
+ # do not trigger on changes in docs, releases
+ gerrit_trigger_file_paths:
+ - compare-type: REG_EXP
+ pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$'
jobs:
- gerrit-pypi-verify
- gerrit-pypi-stage
# release requires sigul which requires centos
build-node: centos7-builder-1c-1g
jobs:
- - '{project-name}-gerrit-pypi-release-jobs'
+ - "{project-name}-gerrit-pypi-release-jobs"
- project:
name: ric-plt-xapp-frame-py-sonarqube
<<: *py_common
sonar-project-file: ""
sonar-properties: |
- sonar.login={sonarcloud_api_token}
- sonar.projectKey={sonarcloud_project_organization}_{project-name}
- sonar.projectName={project-name}
- sonar.organization={sonarcloud_project_organization}
- sonar.build.sourceEncoding=UTF-8
- sonar.sources=ricxappframe
- sonar.exclusions=setup.py,tests/*.py
- sonar.python.coverage.reportPaths=coverage.xml
+ sonar.login={sonarcloud_api_token}
+ sonar.projectKey={sonarcloud_project_organization}_{project-name}
+ sonar.projectName={project-name}
+ sonar.organization={sonarcloud_project_organization}
+ sonar.build.sourceEncoding=UTF-8
+ sonar.sources=ricxappframe
+ sonar.exclusions=setup.py,tests/*.py
+ sonar.python.coverage.reportPaths=coverage.xml
jobs:
- gerrit-tox-sonarqube
+
+- project:
+ <<: *py_common
+ name: ric-plt-xapp-frame-py-nexus-iq
+ build-node: centos7-builder-1c-1g
+ nexus-iq-namespace: oran-
+ jobs:
+ - gerrit-tox-nexus-iq-clm