blob: e6ac32ec40005c6df4a13461c583e54885804af1 [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)34148442019-08-09 14:39:14 -040050 stream:
Tommy Carpenter31c86f52019-11-04 14:36:17 -050051 # run verify on all branches
52 # the ANT pattern is **/{branch}, we are exploiting that.
53 - all:
54 branch: '*'
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040055 jobs:
Lott, Christopher (cl778h)bde567d2019-09-12 15:32:33 -040056 - gerrit-tox-verify
Lott, Christopher (cl778h)34148442019-08-09 14:39:14 -040057
58- project:
Lott, Christopher (cl778h)915e30b2019-09-15 20:05:03 -040059 <<: *a1_common
Lott, Christopher (cl778h)ec66eaa2020-04-21 17:23:00 -040060 name: ric-plt-a1-nexus-iq
61 build-node: centos7-builder-1c-1g
62 nexus-iq-namespace: oran-
63 jobs:
64 - gerrit-tox-nexus-iq-clm
65
66- project:
67 <<: *a1_common
Lott, Christopher (cl778h)a53794c2020-03-05 05:38:20 -050068 name: ric-plt-a1-sonarqube
Lott, Christopher (cl778h)bde567d2019-09-12 15:32:33 -040069 python-version: python3
70 # the install script assumes an ubuntu image
71 build-node: ubuntu1804-builder-2c-2g
72 pre-build-script: !include-raw-escape:
Lott, Christopher (cl778h)18c71592020-04-27 17:46:12 -040073 - ../shell/install-deb-rmr.sh
Lott, Christopher (cl778h)a53794c2020-03-05 05:38:20 -050074 sonar-project-file: ""
75 sonar-properties: |
76 sonar.login={sonarcloud_api_token}
77 sonar.projectKey={sonarcloud_project_organization}_{project-name}
78 sonar.projectName={project-name}
79 sonar.organization={sonarcloud_project_organization}
80 sonar.build.sourceEncoding=UTF-8
81 sonar.sources=a1
82 sonar.python.coverage.reportPaths=coverage.xml
Lott, Christopher (cl778h)34148442019-08-09 14:39:14 -040083 jobs:
Lott, Christopher (cl778h)a53794c2020-03-05 05:38:20 -050084 - gerrit-tox-sonarqube
wrider5bf12752019-11-19 01:00:23 -050085
86- project:
87 <<: *a1_common
Lott, Christopher (cl778h)a53794c2020-03-05 05:38:20 -050088 name: ric-plt-a1-release
wrider5bf12752019-11-19 01:00:23 -050089 branch: master
90 # maven release requires sigul which requires centos
91 # container release requires docker
92 build-node: centos7-docker-2c-8g
93 jobs:
94 - '{project-name}-gerrit-release-jobs'