blob: c7fa3547451324ea10d8bd43e12e3b7b605c09b7 [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
Anil Belur439502c2023-05-07 12:39:38 +10008- _ad_common: &ad_common # required even though overridden everywhere
Alok Bhatt53efacf2020-12-11 16:47:02 +00009 name: ad-common
10 # git repo
LF Jenkins CIc373ae32020-08-18 14:11:41 +000011 project: ric-app/ad
Alok Bhatt53efacf2020-12-11 16:47:02 +000012 # jenkins job name prefix
LF Jenkins CIc373ae32020-08-18 14:11:41 +000013 project-name: ric-app-ad
Alok Bhatt53efacf2020-12-11 16:47:02 +000014 # maven settings file has docker credentials
15 mvn-settings: ric-app-ad-settings
16
17- project:
18 <<: *ad_common
Alok Bhatt53efacf2020-12-11 16:47:02 +000019 name: ric-app-ad-docker
20 # image name
21 docker-name: o-ran-sc/ric-app-ad
22 # source of docker tag
23 container-tag-method: yaml-file
24 # use host network
Anil Belur439502c2023-05-07 12:39:38 +100025 docker-build-args: "--network=host"
Alok Bhatt53efacf2020-12-11 16:47:02 +000026 build-node: ubuntu1804-docker-4c-4g
27 # do not trigger on changes in docs, releases
28 gerrit_trigger_file_paths:
Anil Belur439502c2023-05-07 12:39:38 +100029 - compare-type: REG_EXP
30 pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$'
Alok Bhatt53efacf2020-12-11 16:47:02 +000031 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100032 - "{project-name}-gerrit-docker-jobs"
Alok Bhatt53efacf2020-12-11 16:47:02 +000033 stream:
34 - master:
35 branch: master
36
37- project:
38 <<: *ad_common
39 name: ric-app-ad-release
40 # maven release requires sigul which requires centos
41 # container release requires docker
42 build-node: centos7-docker-2c-8g
43 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100044 - "{project-name}-gerrit-release-jobs"
Alok Bhatt53efacf2020-12-11 16:47:02 +000045
Anil Belur439502c2023-05-07 12:39:38 +100046- _ad_python: &ad_python # settings for python builds
Alok Bhatt53efacf2020-12-11 16:47:02 +000047 name: ad-python
48 # the install script assumes an ubuntu image
49 build-node: ubuntu1804-builder-2c-2g
50 pre-build-script: !include-raw-escape:
51 - ../shell/install-deb-rmr.sh
52 # impt for verify and tox etc
53 python-version: python3
54 # no need to verify docs
55 tox-envs: code,flake8
56
57- project:
58 <<: *ad_common
59 <<: *ad_python
Alok Bhatt53efacf2020-12-11 16:47:02 +000060 name: ric-app-ad-sonarqube
61 sonar-project-file: ""
62 sonar-properties: |
Anil Belur439502c2023-05-07 12:39:38 +100063 sonar.login={sonarcloud_api_token}
64 sonar.projectKey={sonarcloud_project_organization}_{project-name}
65 sonar.projectName={project-name}
66 sonar.organization={sonarcloud_project_organization}
67 sonar.build.sourceEncoding=UTF-8
68 sonar.sources=ad
69 sonar.python.coverage.reportPaths=coverage.xml
Alok Bhatt53efacf2020-12-11 16:47:02 +000070 jobs:
71 - gerrit-tox-sonarqube