blob: 2120653666808f00fac144f33c5e90eb2880ef12 [file] [log] [blame]
LF Jenkins CIc373ae32020-08-18 14:11:41 +00001---
2- project:
3 name: ric-app-ad-project-view
4 project-name: ric-app-ad
5 views:
6 - project-view
7
Alok Bhatt53efacf2020-12-11 16:47:02 +00008- ad_common: &ad_common
9 # required even though overridden everywhere
10 name: ad-common
11 # git repo
LF Jenkins CIc373ae32020-08-18 14:11:41 +000012 project: ric-app/ad
Alok Bhatt53efacf2020-12-11 16:47:02 +000013 # jenkins job name prefix
LF Jenkins CIc373ae32020-08-18 14:11:41 +000014 project-name: ric-app-ad
Alok Bhatt53efacf2020-12-11 16:47:02 +000015 # maven settings file has docker credentials
16 mvn-settings: ric-app-ad-settings
17
18- project:
19 <<: *ad_common
20 name: ric-app-ad-info
LF Jenkins CIc373ae32020-08-18 14:11:41 +000021 build-node: centos7-builder-1c-1g
22 jobs:
23 - gerrit-info-yaml-verify
Alok Bhatt53efacf2020-12-11 16:47:02 +000024
25- project:
26 <<: *ad_common
27 name: ric-app-ad-docker
28 # image name
29 docker-name: o-ran-sc/ric-app-ad
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
35 # do not trigger on changes in docs, releases
36 gerrit_trigger_file_paths:
37 - compare-type: REG_EXP
38 pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$'
39 jobs:
40 - '{project-name}-gerrit-docker-jobs'
41 stream:
42 - master:
43 branch: master
44
45- project:
46 <<: *ad_common
47 name: ric-app-ad-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- ad_python: &ad_python
55 # settings for python builds
56 name: ad-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 <<: *ad_common
68 <<: *ad_python
69 name: ric-app-ad-py-verify
70 # do not trigger on changes in docs, releases
71 gerrit_trigger_file_paths:
72 - compare-type: REG_EXP
73 pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$'
74 jobs:
75 - gerrit-tox-verify
76 stream:
77 - master:
78 branch: master
79
80- project:
81 <<: *ad_common
82 <<: *ad_python
83 name: ric-app-ad-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=ad
92 sonar.python.coverage.reportPaths=coverage.xml
93 jobs:
94 - gerrit-tox-sonarqube