Aric Gardner | da252d2 | 2019-10-11 16:10:03 -0400 | [diff] [blame] | 1 | --- |
| 2 | - project: |
Zhe Huang | 62e544f | 2020-03-09 15:42:05 -0400 | [diff] [blame] | 3 | name: it-dev-project-view |
| 4 | project-name: it-dev |
| 5 | views: |
| 6 | - project-view |
| 7 | |
| 8 | - project: |
Aric Gardner | da252d2 | 2019-10-11 16:10:03 -0400 | [diff] [blame] | 9 | name: it-dev-info |
| 10 | project: it/dev |
| 11 | project-name: it-dev |
| 12 | build-node: centos7-builder-1c-1g |
| 13 | jobs: |
| 14 | - gerrit-info-yaml-verify |
Zhe Huang | 62e544f | 2020-03-09 15:42:05 -0400 | [diff] [blame] | 15 | |
| 16 | - it_dev_common: &it_dev_common |
| 17 | # values apply to all it/dev projects |
| 18 | name: it-dev-common |
| 19 | # git repo |
| 20 | project: it/dev |
| 21 | # jenkins job name prefix |
| 22 | project-name: it-dev |
| 23 | # maven settings file has docker credentials |
| 24 | mvn-settings: it-dev-settings |
| 25 | |
| 26 | - project: |
| 27 | <<: *it_dev_common |
| 28 | name: it-dev-xapp-onboarder-docker |
| 29 | # jenkins job name prefix |
| 30 | project-name: '{name}' |
| 31 | # image name |
| 32 | docker-name: 'o-ran-sc/{name}' |
| 33 | # source of docker tag |
| 34 | container-tag-method: yaml-file |
| 35 | # dockerfile is in subdir |
| 36 | docker-build-args: -f ci/xapp_onboarder/Dockerfile |
| 37 | # container-tag.yaml is in subdir |
| 38 | container-tag-yaml-dir: ci/xapp_onboarder |
| 39 | gerrit_trigger_file_paths: |
| 40 | - compare-type: REG_EXP |
| 41 | pattern: 'xapp_onboarder/.*' |
| 42 | jobs: |
| 43 | - '{project-name}-gerrit-docker-jobs' |
| 44 | stream: |
| 45 | - master: |
| 46 | branch: master |
| 47 | |
| 48 | - project: |
| 49 | <<: *it_dev_common |
| 50 | name: ric-dev-xapp-onboarder-release |
| 51 | # maven release requires sigul which requires centos |
| 52 | # container release requires docker |
| 53 | build-node: centos7-docker-2c-8g |
| 54 | jobs: |
| 55 | - '{project-name}-gerrit-release-jobs' |
| 56 | |
| 57 | - project: |
| 58 | <<: *it_dev_common |
| 59 | name: it-dev-xapp-onboarder-py |
| 60 | project-name: '{name}' |
| 61 | python-version: python3.6 |
| 62 | tox-dir: xapp_onboarder |
| 63 | sonar-project-file: "" |
| 64 | sonar-properties: | |
| 65 | sonar.login={sonarcloud_api_token} |
| 66 | sonar.projectKey={sonarcloud_project_organization}_{project-name} |
| 67 | sonar.projectName={project-name} |
| 68 | sonar.organization={sonarcloud_project_organization} |
| 69 | sonar.build.sourceEncoding=UTF-8 |
| 70 | sonar.sources=xapp_onboarder |
| 71 | sonar.exclusions=setup.py,tests/*.py |
| 72 | sonar.python.coverage.reportPaths=coverage.xml |
| 73 | jobs: |
| 74 | - gerrit-tox-sonarqube |
| 75 | |
| 76 | - project: |
| 77 | <<: *it_dev_common |
| 78 | name: it-dev-xapp-onboarder-pypi |
| 79 | project-name: it-dev-xapp-onboarder |
| 80 | tox-dir: xapp_onboarder |
| 81 | python-version: python3.6 |
| 82 | gerrit_trigger_file_paths: |
| 83 | - compare-type: REG_EXP |
| 84 | pattern: 'xapp_onboarder/.*' |
| 85 | parallel: false |
| 86 | jobs: |
| 87 | - '{project-name}-gerrit-pypi-jobs' |
| 88 | stream: |
| 89 | - master: |
| 90 | branch: master |