LF Jenkins CI | e8e6da9 | 2020-03-11 16:06:58 +0000 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: ric-app-qp-project-view |
| 4 | project-name: ric-app-qp |
| 5 | views: |
| 6 | - project-view |
| 7 | |
Manoop Talasila | 0cff8b6 | 2020-04-27 13:50:42 -0400 | [diff] [blame] | 8 | - qp_common: &qp_common |
| 9 | # required even though overridden everywhere |
| 10 | name: qp-common |
| 11 | # git repo |
LF Jenkins CI | e8e6da9 | 2020-03-11 16:06:58 +0000 | [diff] [blame] | 12 | project: ric-app/qp |
Manoop Talasila | 0cff8b6 | 2020-04-27 13:50:42 -0400 | [diff] [blame] | 13 | # jenkins job name prefix |
LF Jenkins CI | e8e6da9 | 2020-03-11 16:06:58 +0000 | [diff] [blame] | 14 | project-name: ric-app-qp |
Manoop Talasila | 0cff8b6 | 2020-04-27 13:50:42 -0400 | [diff] [blame] | 15 | # maven settings file has docker credentials |
| 16 | mvn-settings: ric-app-qp-settings |
| 17 | |
| 18 | - project: |
| 19 | <<: *qp_common |
| 20 | name: ric-app-qp-info |
LF Jenkins CI | e8e6da9 | 2020-03-11 16:06:58 +0000 | [diff] [blame] | 21 | build-node: centos7-builder-1c-1g |
| 22 | jobs: |
| 23 | - gerrit-info-yaml-verify |
Manoop Talasila | 0cff8b6 | 2020-04-27 13:50:42 -0400 | [diff] [blame] | 24 | |
| 25 | - project: |
| 26 | <<: *qp_common |
| 27 | name: ric-app-qp-docker |
| 28 | # image name |
| 29 | docker-name: o-ran-sc/ric-app-qp |
| 30 | # source of docker tag |
| 31 | container-tag-method: yaml-file |
| 32 | # use host network |
| 33 | docker-build-args: '--network=host' |
| 34 | build-node: ubuntu1804-docker-4c-4g |
Lott, Christopher (cl778h) | f368f98 | 2020-06-03 14:20:27 -0400 | [diff] [blame] | 35 | # do not trigger on changes in docs, releases |
| 36 | gerrit_trigger_file_paths: |
| 37 | - compare-type: REG_EXP |
| 38 | pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$' |
Manoop Talasila | 0cff8b6 | 2020-04-27 13:50:42 -0400 | [diff] [blame] | 39 | jobs: |
| 40 | - '{project-name}-gerrit-docker-jobs' |
| 41 | stream: |
| 42 | - master: |
| 43 | branch: master |
| 44 | |
| 45 | - project: |
| 46 | <<: *qp_common |
| 47 | name: ric-app-qp-release |
| 48 | # maven release requires sigul which requires centos |
| 49 | # container release requires docker |
| 50 | build-node: centos7-docker-2c-8g |
| 51 | jobs: |
| 52 | - '{project-name}-gerrit-release-jobs' |
| 53 | |
| 54 | - qp_python: &qp_python |
| 55 | # settings for python builds |
| 56 | name: qp-python |
| 57 | # the install script assumes an ubuntu image |
| 58 | build-node: ubuntu1804-builder-2c-2g |
| 59 | pre-build-script: !include-raw-escape: |
| 60 | - ../shell/install-deb-rmr.sh |
| 61 | # impt for verify and tox etc |
| 62 | python-version: python3 |
| 63 | # no need to verify docs |
| 64 | tox-envs: code,flake8 |
| 65 | |
| 66 | - project: |
| 67 | <<: *qp_common |
| 68 | <<: *qp_python |
| 69 | name: ric-app-qp-py-verify |
Lott, Christopher (cl778h) | f368f98 | 2020-06-03 14:20:27 -0400 | [diff] [blame] | 70 | # do not trigger on changes in docs, releases |
| 71 | gerrit_trigger_file_paths: |
| 72 | - compare-type: REG_EXP |
| 73 | pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$' |
Manoop Talasila | 0cff8b6 | 2020-04-27 13:50:42 -0400 | [diff] [blame] | 74 | jobs: |
| 75 | - gerrit-tox-verify |
| 76 | stream: |
| 77 | - master: |
| 78 | branch: master |
| 79 | |
| 80 | - project: |
| 81 | <<: *qp_common |
| 82 | <<: *qp_python |
| 83 | name: ric-app-qp-sonarqube |
| 84 | sonar-project-file: "" |
| 85 | sonar-properties: | |
| 86 | sonar.login={sonarcloud_api_token} |
| 87 | sonar.projectKey={sonarcloud_project_organization}_{project-name} |
| 88 | sonar.projectName={project-name} |
| 89 | sonar.organization={sonarcloud_project_organization} |
| 90 | sonar.build.sourceEncoding=UTF-8 |
| 91 | sonar.sources=qp |
| 92 | sonar.python.coverage.reportPaths=coverage.xml |
| 93 | jobs: |
| 94 | - gerrit-tox-sonarqube |