blob: 837cd055ca766c48318d60f33d3300088d39ea9d [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
36 stream:
37 - master:
38 branch: master
39 jobs:
40 - '{project-name}-gerrit-docker-jobs'
41
42- project:
43 <<: *a1_common
44 name: ric-plt-a1-verify
Lott, Christopher (cl778h)bde567d2019-09-12 15:32:33 -040045 # the install script assumes an ubuntu image
46 build-node: ubuntu1804-builder-2c-2g
47 pre-build-script: !include-raw-escape:
Lott, Christopher (cl778h)18c71592020-04-27 17:46:12 -040048 - ../shell/install-deb-rmr.sh
Lott, Christopher (cl778h)bde567d2019-09-12 15:32:33 -040049 python-version: python3
Lott, Christopher (cl778h)23a4f132020-04-27 20:11:37 -040050 # skip docs on verify
51 tox-envs: code,flake8
Lott, Christopher (cl778h)34148442019-08-09 14:39:14 -040052 stream:
Tommy Carpenter31c86f52019-11-04 14:36:17 -050053 # run verify on all branches
54 # the ANT pattern is **/{branch}, we are exploiting that.
55 - all:
56 branch: '*'
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040057 jobs:
Lott, Christopher (cl778h)bde567d2019-09-12 15:32:33 -040058 - gerrit-tox-verify
Lott, Christopher (cl778h)34148442019-08-09 14:39:14 -040059
60- project:
Lott, Christopher (cl778h)915e30b2019-09-15 20:05:03 -040061 <<: *a1_common
Lott, Christopher (cl778h)ec66eaa2020-04-21 17:23:00 -040062 name: ric-plt-a1-nexus-iq
63 build-node: centos7-builder-1c-1g
64 nexus-iq-namespace: oran-
65 jobs:
66 - gerrit-tox-nexus-iq-clm
67
68- project:
69 <<: *a1_common
Lott, Christopher (cl778h)a53794c2020-03-05 05:38:20 -050070 name: ric-plt-a1-sonarqube
Lott, Christopher (cl778h)bde567d2019-09-12 15:32:33 -040071 python-version: python3
72 # the install script assumes an ubuntu image
73 build-node: ubuntu1804-builder-2c-2g
74 pre-build-script: !include-raw-escape:
Lott, Christopher (cl778h)18c71592020-04-27 17:46:12 -040075 - ../shell/install-deb-rmr.sh
Lott, Christopher (cl778h)a53794c2020-03-05 05:38:20 -050076 sonar-project-file: ""
77 sonar-properties: |
78 sonar.login={sonarcloud_api_token}
79 sonar.projectKey={sonarcloud_project_organization}_{project-name}
80 sonar.projectName={project-name}
81 sonar.organization={sonarcloud_project_organization}
82 sonar.build.sourceEncoding=UTF-8
83 sonar.sources=a1
84 sonar.python.coverage.reportPaths=coverage.xml
Lott, Christopher (cl778h)34148442019-08-09 14:39:14 -040085 jobs:
Lott, Christopher (cl778h)a53794c2020-03-05 05:38:20 -050086 - gerrit-tox-sonarqube
wrider5bf12752019-11-19 01:00:23 -050087
88- project:
89 <<: *a1_common
Lott, Christopher (cl778h)a53794c2020-03-05 05:38:20 -050090 name: ric-plt-a1-release
wrider5bf12752019-11-19 01:00:23 -050091 branch: master
92 # maven release requires sigul which requires centos
93 # container release requires docker
94 build-node: centos7-docker-2c-8g
95 jobs:
96 - '{project-name}-gerrit-release-jobs'