blob: 99291dd56303f80f70b5cdccaefc5751c30d63b3 [file] [log] [blame]
Aric Gardnerda252d22019-10-11 16:10:03 -04001---
2- project:
Zhe Huang62e544f2020-03-09 15:42:05 -04003 name: it-dev-project-view
4 project-name: it-dev
5 views:
6 - project-view
7
8- project:
Aric Gardnerda252d22019-10-11 16:10:03 -04009 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 Huang62e544f2020-03-09 15:42:05 -040015
Anil Belur4e0d56a2023-04-18 11:49:03 +100016- _it_dev_xo_common: &it_dev_xo_common
Zhe Huangec4545e2020-03-17 19:02:01 -040017 name: it-dev-xo-common
Zhe Huang62e544f2020-03-09 15:42:05 -040018 # git repo
19 project: it/dev
20 # jenkins job name prefix
Zhe Huangec4545e2020-03-17 19:02:01 -040021 project-name: it-dev-xapp-onboarder
Zhe Huang62e544f2020-03-09 15:42:05 -040022 # maven settings file has docker credentials
23 mvn-settings: it-dev-settings
24
Anil Belur4e0d56a2023-04-18 11:49:03 +100025- _it_dev_xo_py_common: &it_dev_xo_py_common
Zhe Huangec4545e2020-03-17 19:02:01 -040026 name: it-dev-xo-py-common
27 python-version: python3.6
28 tox-dir: xapp_onboarder
29 tox-envs: py36-lf
30
Zhe Huang62e544f2020-03-09 15:42:05 -040031- project:
Zhe Huangec4545e2020-03-17 19:02:01 -040032 <<: *it_dev_xo_common
Zhe Huang62e544f2020-03-09 15:42:05 -040033 name: it-dev-xapp-onboarder-docker
Zhe Huang62e544f2020-03-09 15:42:05 -040034 # image name
Anil Belur439502c2023-05-07 12:39:38 +100035 docker-name: "o-ran-sc/xapp-onboarder"
Zhe Huang62e544f2020-03-09 15:42:05 -040036 # 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
Anil Belur439502c2023-05-07 12:39:38 +100044 pattern: "xapp_onboarder/.*"
Zhe Huang62e544f2020-03-09 15:42:05 -040045 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100046 - "{project-name}-gerrit-docker-jobs"
Zhe Huang62e544f2020-03-09 15:42:05 -040047 stream:
48 - master:
49 branch: master
50
51- project:
Zhe Huangec4545e2020-03-17 19:02:01 -040052 <<: *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 Huang62e544f2020-03-09 15:42:05 -040056 # maven release requires sigul which requires centos
57 # container release requires docker
58 build-node: centos7-docker-2c-8g
59 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100060 - "{project-name}-gerrit-release-jobs"
Zhe Huang62e544f2020-03-09 15:42:05 -040061
62- project:
Zhe Huangec4545e2020-03-17 19:02:01 -040063 <<: *it_dev_xo_common
64 <<: *it_dev_xo_py_common
65 name: it-dev-xapp-onboarder-sonarqube
Zhe Huang62e544f2020-03-09 15:42:05 -040066 sonar-project-file: ""
67 sonar-properties: |
Anil Belur439502c2023-05-07 12:39:38 +100068 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,xapp_onboarder/tests/*.py
75 sonar.python.coverage.reportPaths=xapp_onboarder/coverage.xml
Zhe Huang62e544f2020-03-09 15:42:05 -040076 jobs:
77 - gerrit-tox-sonarqube
78
79- project:
Zhe Huangec4545e2020-03-17 19:02:01 -040080 <<: *it_dev_xo_common
81 <<: *it_dev_xo_py_common
Zhe Huang62e544f2020-03-09 15:42:05 -040082 name: it-dev-xapp-onboarder-pypi
Zhe Huang62e544f2020-03-09 15:42:05 -040083 gerrit_trigger_file_paths:
Anil Belur439502c2023-05-07 12:39:38 +100084 - compare-type: REG_EXP
85 pattern: "xapp_onboarder/.*"
Zhe Huang62e544f2020-03-09 15:42:05 -040086 parallel: false
87 jobs:
Lott, Christopher (cl778h)4cae0592020-04-01 08:34:48 -040088 - gerrit-pypi-verify
89 - gerrit-pypi-stage
Zhe Huang62e544f2020-03-09 15:42:05 -040090 stream:
91 - master:
92 branch: master