blob: 81cf04322e9598de7c00affa55598d0e9d951f39 [file] [log] [blame]
Lott, Christopher (cl778h)98ac5902019-06-01 07:03:27 -04001---
2- project:
3 name: ric-plt-a1-project-view
4 project-name: ric-plt-a1
5 views:
6 - project-view
7
Andrew Grimbergf075e012019-06-11 13:32:10 -07008- project:
9 name: ric-plt-a1-info
10 project: ric-plt/a1
11 project-name: ric-plt-a1
12 build-node: centos7-builder-1c-1g
Andrew Grimbergf075e012019-06-11 13:32:10 -070013 jobs:
14 - gerrit-info-yaml-verify
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040015
Lott, Christopher (cl778h)915e30b2019-09-15 20:05:03 -040016- a1_common: &a1_common
17 # values apply to all A1 projects
18 name: a1-common
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040019 # git repo
20 project: ric-plt/a1
21 # jenkins job name prefix
22 project-name: ric-plt-a1
23 # maven settings file has docker credentials
24 mvn-settings: ric-plt-a1-settings
25
26- project:
Lott, Christopher (cl778h)915e30b2019-09-15 20:05:03 -040027 <<: *a1_common
Lott, Christopher (cl778h)a53794c2020-03-05 05:38:20 -050028 name: ric-plt-a1-docker
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040029 # image name
Lott, Christopher (cl778h)97489022020-03-20 13:48:33 -040030 docker-name: 'o-ran-sc/ric-plt-a1'
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040031 # source of docker tag
32 container-tag-method: yaml-file
Lott, Christopher (cl778h)915e30b2019-09-15 20:05:03 -040033 # use host network
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040034 docker-build-args: '--network=host'
Lott, Christopher (cl778h)915e30b2019-09-15 20:05:03 -040035 build-node: ubuntu1804-docker-4c-4g
Lott, Christopher (cl778h)c48e4382020-05-27 09:56:11 -040036 # do not trigger on changes in docs, releases
37 gerrit_trigger_file_paths:
38 - compare-type: REG_EXP
Lott, Christopher (cl778h)4212ad72020-05-27 16:47:31 -040039 pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$'
Lott, Christopher (cl778h)915e30b2019-09-15 20:05:03 -040040 stream:
41 - master:
42 branch: master
43 jobs:
44 - '{project-name}-gerrit-docker-jobs'
45
46- project:
47 <<: *a1_common
48 name: ric-plt-a1-verify
Lott, Christopher (cl778h)bde567d2019-09-12 15:32:33 -040049 # the install script assumes an ubuntu image
50 build-node: ubuntu1804-builder-2c-2g
51 pre-build-script: !include-raw-escape:
Lott, Christopher (cl778h)18c71592020-04-27 17:46:12 -040052 - ../shell/install-deb-rmr.sh
Lott, Christopher (cl778h)bde567d2019-09-12 15:32:33 -040053 python-version: python3
Lott, Christopher (cl778h)23a4f132020-04-27 20:11:37 -040054 # skip docs on verify
55 tox-envs: code,flake8
Lott, Christopher (cl778h)c48e4382020-05-27 09:56:11 -040056 # do not trigger on changes in docs, releases
57 gerrit_trigger_file_paths:
58 - compare-type: REG_EXP
Lott, Christopher (cl778h)4212ad72020-05-27 16:47:31 -040059 pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$'
Lott, Christopher (cl778h)34148442019-08-09 14:39:14 -040060 stream:
Tommy Carpenter31c86f52019-11-04 14:36:17 -050061 # run verify on all branches
62 # the ANT pattern is **/{branch}, we are exploiting that.
63 - all:
64 branch: '*'
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040065 jobs:
Lott, Christopher (cl778h)bde567d2019-09-12 15:32:33 -040066 - gerrit-tox-verify
Lott, Christopher (cl778h)34148442019-08-09 14:39:14 -040067
68- project:
Lott, Christopher (cl778h)915e30b2019-09-15 20:05:03 -040069 <<: *a1_common
Lott, Christopher (cl778h)ec66eaa2020-04-21 17:23:00 -040070 name: ric-plt-a1-nexus-iq
71 build-node: centos7-builder-1c-1g
72 nexus-iq-namespace: oran-
73 jobs:
74 - gerrit-tox-nexus-iq-clm
75
76- project:
77 <<: *a1_common
Lott, Christopher (cl778h)a53794c2020-03-05 05:38:20 -050078 name: ric-plt-a1-sonarqube
Lott, Christopher (cl778h)bde567d2019-09-12 15:32:33 -040079 python-version: python3
80 # the install script assumes an ubuntu image
81 build-node: ubuntu1804-builder-2c-2g
82 pre-build-script: !include-raw-escape:
Lott, Christopher (cl778h)18c71592020-04-27 17:46:12 -040083 - ../shell/install-deb-rmr.sh
Lott, Christopher (cl778h)a53794c2020-03-05 05:38:20 -050084 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=a1
92 sonar.python.coverage.reportPaths=coverage.xml
Lott, Christopher (cl778h)34148442019-08-09 14:39:14 -040093 jobs:
Lott, Christopher (cl778h)a53794c2020-03-05 05:38:20 -050094 - gerrit-tox-sonarqube
wrider5bf12752019-11-19 01:00:23 -050095
96- project:
97 <<: *a1_common
Lott, Christopher (cl778h)a53794c2020-03-05 05:38:20 -050098 name: ric-plt-a1-release
wrider5bf12752019-11-19 01:00:23 -050099 # maven release requires sigul which requires centos
100 # container release requires docker
101 build-node: centos7-docker-2c-8g
102 jobs:
103 - '{project-name}-gerrit-release-jobs'