blob: 9226660763cec3a03a9cc57824073c048e9e016f [file] [log] [blame]
LF Jenkins CIe8e6da92020-03-11 16:06:58 +00001---
2- project:
3 name: ric-app-qp-project-view
4 project-name: ric-app-qp
5 views:
6 - project-view
7
Manoop Talasila0cff8b62020-04-27 13:50:42 -04008- qp_common: &qp_common
9 # required even though overridden everywhere
10 name: qp-common
11 # git repo
LF Jenkins CIe8e6da92020-03-11 16:06:58 +000012 project: ric-app/qp
Manoop Talasila0cff8b62020-04-27 13:50:42 -040013 # jenkins job name prefix
LF Jenkins CIe8e6da92020-03-11 16:06:58 +000014 project-name: ric-app-qp
Manoop Talasila0cff8b62020-04-27 13:50:42 -040015 # maven settings file has docker credentials
16 mvn-settings: ric-app-qp-settings
17
18- project:
19 <<: *qp_common
20 name: ric-app-qp-info
LF Jenkins CIe8e6da92020-03-11 16:06:58 +000021 build-node: centos7-builder-1c-1g
22 jobs:
23 - gerrit-info-yaml-verify
Manoop Talasila0cff8b62020-04-27 13:50:42 -040024
25- project:
26 <<: *qp_common
27 name: ric-app-qp-docker
28 # image name
29 docker-name: o-ran-sc/ric-app-qp
30 # source of docker tag
31 container-tag-method: yaml-file
32 # use host network
33 docker-build-args: '--network=host'
34 build-node: ubuntu1804-docker-4c-4g
Lott, Christopher (cl778h)f368f982020-06-03 14:20:27 -040035 # do not trigger on changes in docs, releases
36 gerrit_trigger_file_paths:
37 - compare-type: REG_EXP
38 pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$'
Manoop Talasila0cff8b62020-04-27 13:50:42 -040039 jobs:
40 - '{project-name}-gerrit-docker-jobs'
41 stream:
42 - master:
43 branch: master
44
45- project:
46 <<: *qp_common
47 name: ric-app-qp-release
48 # maven release requires sigul which requires centos
49 # container release requires docker
50 build-node: centos7-docker-2c-8g
51 jobs:
52 - '{project-name}-gerrit-release-jobs'
53
54- qp_python: &qp_python
55 # settings for python builds
56 name: qp-python
57 # the install script assumes an ubuntu image
58 build-node: ubuntu1804-builder-2c-2g
59 pre-build-script: !include-raw-escape:
60 - ../shell/install-deb-rmr.sh
61 # impt for verify and tox etc
62 python-version: python3
63 # no need to verify docs
64 tox-envs: code,flake8
65
66- project:
67 <<: *qp_common
68 <<: *qp_python
69 name: ric-app-qp-py-verify
Lott, Christopher (cl778h)f368f982020-06-03 14:20:27 -040070 # do not trigger on changes in docs, releases
71 gerrit_trigger_file_paths:
72 - compare-type: REG_EXP
73 pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$'
Manoop Talasila0cff8b62020-04-27 13:50:42 -040074 jobs:
75 - gerrit-tox-verify
76 stream:
77 - master:
78 branch: master
79
80- project:
81 <<: *qp_common
82 <<: *qp_python
83 name: ric-app-qp-sonarqube
84 sonar-project-file: ""
85 sonar-properties: |
86 sonar.login={sonarcloud_api_token}
87 sonar.projectKey={sonarcloud_project_organization}_{project-name}
88 sonar.projectName={project-name}
89 sonar.organization={sonarcloud_project_organization}
90 sonar.build.sourceEncoding=UTF-8
91 sonar.sources=qp
92 sonar.python.coverage.reportPaths=coverage.xml
93 jobs:
94 - gerrit-tox-sonarqube