blob: 0c6fede895f9943c2395ad22c88cbb271bd06597 [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
47 jobs:
48 - '{project-name}-gerrit-docker-jobs'
49 stream:
50 - master:
51 branch: master
52
53- project:
54 <<: *qpd_common
55 <<: *qpd_python
56 name: ric-app-qp-driver-verify
57 jobs:
58 - gerrit-tox-verify
59 stream:
60 # run verify on all branches
61 # the ANT pattern is **/{branch}, we are exploiting that.
62 - all:
63 branch: '*'
64
65- project:
66 <<: *qpd_common
67 name: ric-app-qp-driver-release
68 # maven release requires sigul which requires centos
69 # container release requires docker
70 build-node: centos7-docker-2c-8g
71 jobs:
72 - '{project-name}-gerrit-release-jobs'
73
74- project:
75 <<: *qpd_common
76 <<: *qpd_python
77 name: ric-app-qp-driver-sonarqube
78 sonar-project-file: ""
79 sonar-properties: |
80 sonar.login={sonarcloud_api_token}
81 sonar.projectKey={sonarcloud_project_organization}_{project-name}
82 sonar.projectName={project-name}
83 sonar.organization={sonarcloud_project_organization}
84 sonar.build.sourceEncoding=UTF-8
85 sonar.sources=qpdriver
86 sonar.python.coverage.reportPaths=coverage.xml
87 jobs:
88 - gerrit-tox-sonarqube