| --- |
| - project: |
| name: ric-app-lp-project-view |
| project-name: ric-app-lp |
| views: |
| - project-view |
| |
| - lp_common: &lp_common |
| # required even though overridden everywhere |
| name: lp-common |
| # git repo |
| project: ric-app/lp |
| # jenkins job name prefix |
| project-name: ric-app-lp |
| # maven settings file has docker credentials |
| mvn-settings: ric-app-lp-settings |
| |
| - project: |
| <<: *lp_common |
| name: ric-app-lp-info |
| build-node: centos7-builder-1c-1g |
| jobs: |
| - gerrit-info-yaml-verify |
| |
| - project: |
| <<: *lp_common |
| name: ric-app-lp-docker |
| # image name |
| docker-name: o-ran-sc/ric-app-lp |
| # source of docker tag |
| container-tag-method: yaml-file |
| # use host network |
| docker-build-args: '--network=host' |
| build-node: ubuntu1804-docker-4c-4g |
| # do not trigger on changes in docs, releases |
| gerrit_trigger_file_paths: |
| - compare-type: REG_EXP |
| pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$' |
| jobs: |
| - '{project-name}-gerrit-docker-jobs' |
| stream: |
| - master: |
| branch: master |
| |
| - project: |
| <<: *lp_common |
| name: ric-app-lp-release |
| # maven release requires sigul which requires centos |
| # container release requires docker |
| build-node: centos7-docker-2c-8g |
| jobs: |
| - '{project-name}-gerrit-release-jobs' |
| |
| - lp_python: &lp_python |
| # settings for python builds |
| name: lp-python |
| # the install script assumes an ubuntu image |
| build-node: ubuntu1804-builder-2c-2g |
| pre-build-script: !include-raw-escape: |
| - ../shell/install-deb-rmr.sh |
| # impt for verify and tox etc |
| python-version: python3 |
| # no need to verify docs |
| tox-envs: code,flake8 |
| |
| - project: |
| <<: *lp_common |
| <<: *lp_python |
| name: ric-app-lp-py-verify |
| # do not trigger on changes in docs, releases |
| gerrit_trigger_file_paths: |
| - compare-type: REG_EXP |
| pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$' |
| jobs: |
| - gerrit-tox-verify |
| stream: |
| - master: |
| branch: master |
| |
| - project: |
| <<: *lp_common |
| <<: *lp_python |
| name: ric-app-lp-sonarqube |
| 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=lp |
| sonar.python.coverage.reportPaths=coverage.xml |
| jobs: |
| - gerrit-tox-sonarqube |