LF Jenkins CI | 717b341 | 2020-03-11 17:04:42 +0000 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: ric-app-qp-driver-project-view |
| 4 | project-name: ric-app-qp-driver |
| 5 | views: |
| 6 | - project-view |
| 7 | |
Tommy Carpenter | b18be93 | 2020-03-16 11:09:38 -0400 | [diff] [blame] | 8 | - qpd_common: &qpd_common |
| 9 | # required even though overridden everywhere |
| 10 | name: qpdcommon |
| 11 | # git repo |
LF Jenkins CI | 717b341 | 2020-03-11 17:04:42 +0000 | [diff] [blame] | 12 | project: ric-app/qp-driver |
Tommy Carpenter | b18be93 | 2020-03-16 11:09:38 -0400 | [diff] [blame] | 13 | # jenkins job name prefix |
LF Jenkins CI | 717b341 | 2020-03-11 17:04:42 +0000 | [diff] [blame] | 14 | project-name: ric-app-qp-driver |
Tommy Carpenter | b18be93 | 2020-03-16 11:09:38 -0400 | [diff] [blame] | 15 | # maven settings file has docker credentials |
| 16 | mvn-settings: ric-app-qp-driver-settings |
| 17 | |
| 18 | - qpd_python: &qpd_python |
| 19 | # installs rmr which is needed for verify and sonar etc |
| 20 | name: qpdpy |
| 21 | # the install script assumes an ubuntu image |
| 22 | build-node: ubuntu1804-builder-2c-2g |
| 23 | pre-build-script: !include-raw-escape: |
Lott, Christopher (cl778h) | 18c7159 | 2020-04-27 17:46:12 -0400 | [diff] [blame^] | 24 | - ../shell/install-deb-rmr.sh |
Tommy Carpenter | b18be93 | 2020-03-16 11:09:38 -0400 | [diff] [blame] | 25 | # impt for verify and tox etc |
| 26 | python-version: python3 |
| 27 | # no need to verify docs |
| 28 | tox-envs: code,flake8 |
| 29 | |
| 30 | - project: |
| 31 | <<: *qpd_common |
| 32 | name: ric-app-qp-driver-info |
LF Jenkins CI | 717b341 | 2020-03-11 17:04:42 +0000 | [diff] [blame] | 33 | build-node: centos7-builder-1c-1g |
| 34 | jobs: |
| 35 | - gerrit-info-yaml-verify |
Tommy Carpenter | b18be93 | 2020-03-16 11:09:38 -0400 | [diff] [blame] | 36 | |
| 37 | - project: |
| 38 | <<: *qpd_common |
| 39 | name: ric-app-qp-driver-docker |
| 40 | # image name |
Tommy Carpenter | 0ade1e6 | 2020-04-03 14:30:45 -0400 | [diff] [blame] | 41 | docker-name: 'o-ran-sc/ric-app-qp-driver' |
Tommy Carpenter | b18be93 | 2020-03-16 11:09:38 -0400 | [diff] [blame] | 42 | # source of docker tag |
| 43 | container-tag-method: yaml-file |
| 44 | # use host network |
| 45 | docker-build-args: '--network=host' |
| 46 | build-node: ubuntu1804-docker-4c-4g |
| 47 | jobs: |
| 48 | - '{project-name}-gerrit-docker-jobs' |
| 49 | stream: |
| 50 | - master: |
| 51 | branch: master |
| 52 | |
| 53 | - project: |
| 54 | <<: *qpd_common |
| 55 | <<: *qpd_python |
| 56 | name: ric-app-qp-driver-verify |
| 57 | jobs: |
| 58 | - gerrit-tox-verify |
| 59 | stream: |
| 60 | # run verify on all branches |
| 61 | # the ANT pattern is **/{branch}, we are exploiting that. |
| 62 | - all: |
| 63 | branch: '*' |
| 64 | |
| 65 | - project: |
| 66 | <<: *qpd_common |
| 67 | name: ric-app-qp-driver-release |
| 68 | # maven release requires sigul which requires centos |
| 69 | # container release requires docker |
| 70 | build-node: centos7-docker-2c-8g |
| 71 | jobs: |
| 72 | - '{project-name}-gerrit-release-jobs' |
| 73 | |
| 74 | - project: |
| 75 | <<: *qpd_common |
| 76 | <<: *qpd_python |
| 77 | name: ric-app-qp-driver-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=qpdriver |
| 86 | sonar.python.coverage.reportPaths=coverage.xml |
| 87 | jobs: |
| 88 | - gerrit-tox-sonarqube |