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 | |
Zhe Huang | ec4545e | 2020-03-17 19:02:01 -0400 | [diff] [blame] | 16 | - it_dev_xo_common: &it_dev_xo_common |
| 17 | name: it-dev-xo-common |
Zhe Huang | 62e544f | 2020-03-09 15:42:05 -0400 | [diff] [blame] | 18 | # git repo |
| 19 | project: it/dev |
| 20 | # jenkins job name prefix |
Zhe Huang | ec4545e | 2020-03-17 19:02:01 -0400 | [diff] [blame] | 21 | project-name: it-dev-xapp-onboarder |
Zhe Huang | 62e544f | 2020-03-09 15:42:05 -0400 | [diff] [blame] | 22 | # maven settings file has docker credentials |
| 23 | mvn-settings: it-dev-settings |
| 24 | |
Zhe Huang | ec4545e | 2020-03-17 19:02:01 -0400 | [diff] [blame] | 25 | - it_dev_xo_py_common: &it_dev_xo_py_common |
| 26 | name: it-dev-xo-py-common |
| 27 | python-version: python3.6 |
| 28 | tox-dir: xapp_onboarder |
| 29 | tox-envs: py36-lf |
| 30 | |
Zhe Huang | 62e544f | 2020-03-09 15:42:05 -0400 | [diff] [blame] | 31 | - project: |
Zhe Huang | ec4545e | 2020-03-17 19:02:01 -0400 | [diff] [blame] | 32 | <<: *it_dev_xo_common |
Zhe Huang | 62e544f | 2020-03-09 15:42:05 -0400 | [diff] [blame] | 33 | name: it-dev-xapp-onboarder-docker |
Zhe Huang | 62e544f | 2020-03-09 15:42:05 -0400 | [diff] [blame] | 34 | # image name |
Zhe Huang | ec4545e | 2020-03-17 19:02:01 -0400 | [diff] [blame] | 35 | docker-name: 'o-ran-sc/xapp-onboarder' |
Zhe Huang | 62e544f | 2020-03-09 15:42:05 -0400 | [diff] [blame] | 36 | # source of docker tag |
| 37 | container-tag-method: yaml-file |
| 38 | # dockerfile is in subdir |
| 39 | docker-build-args: -f ci/xapp_onboarder/Dockerfile |
| 40 | # container-tag.yaml is in subdir |
| 41 | container-tag-yaml-dir: ci/xapp_onboarder |
| 42 | gerrit_trigger_file_paths: |
| 43 | - compare-type: REG_EXP |
| 44 | pattern: 'xapp_onboarder/.*' |
| 45 | jobs: |
| 46 | - '{project-name}-gerrit-docker-jobs' |
| 47 | stream: |
| 48 | - master: |
| 49 | branch: master |
| 50 | |
| 51 | - project: |
Zhe Huang | ec4545e | 2020-03-17 19:02:01 -0400 | [diff] [blame] | 52 | <<: *it_dev_xo_common |
| 53 | name: it-dev-xapp-onboarder-release |
| 54 | # one release job for all items in repo |
| 55 | project-name: it-dev |
Zhe Huang | 62e544f | 2020-03-09 15:42:05 -0400 | [diff] [blame] | 56 | # maven release requires sigul which requires centos |
| 57 | # container release requires docker |
| 58 | build-node: centos7-docker-2c-8g |
| 59 | jobs: |
| 60 | - '{project-name}-gerrit-release-jobs' |
| 61 | |
| 62 | - project: |
Zhe Huang | ec4545e | 2020-03-17 19:02:01 -0400 | [diff] [blame] | 63 | <<: *it_dev_xo_common |
| 64 | <<: *it_dev_xo_py_common |
| 65 | name: it-dev-xapp-onboarder-sonarqube |
Zhe Huang | 62e544f | 2020-03-09 15:42:05 -0400 | [diff] [blame] | 66 | sonar-project-file: "" |
| 67 | sonar-properties: | |
| 68 | sonar.login={sonarcloud_api_token} |
| 69 | sonar.projectKey={sonarcloud_project_organization}_{project-name} |
| 70 | sonar.projectName={project-name} |
| 71 | sonar.organization={sonarcloud_project_organization} |
| 72 | sonar.build.sourceEncoding=UTF-8 |
| 73 | sonar.sources=xapp_onboarder |
| 74 | sonar.exclusions=setup.py,tests/*.py |
| 75 | sonar.python.coverage.reportPaths=coverage.xml |
| 76 | jobs: |
| 77 | - gerrit-tox-sonarqube |
| 78 | |
| 79 | - project: |
Zhe Huang | ec4545e | 2020-03-17 19:02:01 -0400 | [diff] [blame] | 80 | <<: *it_dev_xo_common |
| 81 | <<: *it_dev_xo_py_common |
Zhe Huang | 62e544f | 2020-03-09 15:42:05 -0400 | [diff] [blame] | 82 | name: it-dev-xapp-onboarder-pypi |
Zhe Huang | 62e544f | 2020-03-09 15:42:05 -0400 | [diff] [blame] | 83 | gerrit_trigger_file_paths: |
| 84 | - compare-type: REG_EXP |
| 85 | pattern: 'xapp_onboarder/.*' |
| 86 | parallel: false |
| 87 | jobs: |
Lott, Christopher (cl778h) | 4cae059 | 2020-04-01 08:34:48 -0400 | [diff] [blame^] | 88 | - gerrit-pypi-verify |
| 89 | - gerrit-pypi-stage |
Zhe Huang | 62e544f | 2020-03-09 15:42:05 -0400 | [diff] [blame] | 90 | stream: |
| 91 | - master: |
| 92 | branch: master |