blob: 6d9ccd66245c7c9447443ab1982131c9ede62a18 [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
Zhe Huangec4545e2020-03-17 19:02:01 -040016- it_dev_xo_common: &it_dev_xo_common
17 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
Zhe Huangec4545e2020-03-17 19:02:01 -040025- 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 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
Zhe Huangec4545e2020-03-17 19:02:01 -040035 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
44 pattern: 'xapp_onboarder/.*'
45 jobs:
46 - '{project-name}-gerrit-docker-jobs'
47 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:
60 - '{project-name}-gerrit-release-jobs'
61
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: |
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 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:
84 - compare-type: REG_EXP
85 pattern: 'xapp_onboarder/.*'
86 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