blob: 9a6393a0464805445fd1f4203a74bcf985885204 [file] [log] [blame]
LF Jenkins CI717b3412020-03-11 17:04:42 +00001---
2- project:
3 name: ric-app-qp-driver-project-view
4 project-name: ric-app-qp-driver
5 views:
6 - project-view
7
Tommy Carpenterb18be932020-03-16 11:09:38 -04008- qpd_common: &qpd_common
9 # required even though overridden everywhere
10 name: qpdcommon
11 # git repo
LF Jenkins CI717b3412020-03-11 17:04:42 +000012 project: ric-app/qp-driver
Tommy Carpenterb18be932020-03-16 11:09:38 -040013 # jenkins job name prefix
LF Jenkins CI717b3412020-03-11 17:04:42 +000014 project-name: ric-app-qp-driver
Tommy Carpenterb18be932020-03-16 11:09:38 -040015 # 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)18c71592020-04-27 17:46:12 -040024 - ../shell/install-deb-rmr.sh
Tommy Carpenterb18be932020-03-16 11:09:38 -040025 # 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 CI717b3412020-03-11 17:04:42 +000033 build-node: centos7-builder-1c-1g
34 jobs:
35 - gerrit-info-yaml-verify
Tommy Carpenterb18be932020-03-16 11:09:38 -040036
37- project:
38 <<: *qpd_common
39 name: ric-app-qp-driver-docker
40 # image name
Tommy Carpenter0ade1e62020-04-03 14:30:45 -040041 docker-name: 'o-ran-sc/ric-app-qp-driver'
Tommy Carpenterb18be932020-03-16 11:09:38 -040042 # 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
Lott, Christopher (cl778h)f368f982020-06-03 14:20:27 -040047 # do not trigger on changes in docs, releases
48 gerrit_trigger_file_paths:
49 - compare-type: REG_EXP
50 pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$'
Tommy Carpenterb18be932020-03-16 11:09:38 -040051 jobs:
52 - '{project-name}-gerrit-docker-jobs'
53 stream:
54 - master:
55 branch: master
56
57- project:
58 <<: *qpd_common
59 <<: *qpd_python
60 name: ric-app-qp-driver-verify
Lott, Christopher (cl778h)f368f982020-06-03 14:20:27 -040061 # do not trigger on changes in docs, releases
62 gerrit_trigger_file_paths:
63 - compare-type: REG_EXP
64 pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$'
Tommy Carpenterb18be932020-03-16 11:09:38 -040065 jobs:
66 - gerrit-tox-verify
67 stream:
68 # run verify on all branches
69 # the ANT pattern is **/{branch}, we are exploiting that.
70 - all:
71 branch: '*'
72
73- project:
74 <<: *qpd_common
75 name: ric-app-qp-driver-release
76 # maven release requires sigul which requires centos
77 # container release requires docker
78 build-node: centos7-docker-2c-8g
79 jobs:
80 - '{project-name}-gerrit-release-jobs'
81
82- project:
83 <<: *qpd_common
84 <<: *qpd_python
85 name: ric-app-qp-driver-sonarqube
86 sonar-project-file: ""
87 sonar-properties: |
88 sonar.login={sonarcloud_api_token}
89 sonar.projectKey={sonarcloud_project_organization}_{project-name}
90 sonar.projectName={project-name}
91 sonar.organization={sonarcloud_project_organization}
92 sonar.build.sourceEncoding=UTF-8
93 sonar.sources=qpdriver
94 sonar.python.coverage.reportPaths=coverage.xml
95 jobs:
96 - gerrit-tox-sonarqube