blob: 6d22ad7ce12e5dd186b000c8ef80b87b2cba26c9 [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)3f5f89b2019-08-05 10:25:58 -040028 name: ric-plt-a1
29 # image name
wrider5bf12752019-11-19 01:00:23 -050030 docker-name: 'o-ran-sc/{name}'
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:
48 - ../shell/install-deb-nng-rmr.sh
49 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)34148442019-08-09 14:39:14 -040060 name: ric-plt-a1-sonar
61 branch: master
Lott, Christopher (cl778h)bde567d2019-09-12 15:32:33 -040062 python-version: python3
63 # the install script assumes an ubuntu image
64 build-node: ubuntu1804-builder-2c-2g
65 pre-build-script: !include-raw-escape:
66 - ../shell/install-deb-nng-rmr.sh
Lott, Christopher (cl778h)34148442019-08-09 14:39:14 -040067 sonarcloud: true
Lott, Christopher (cl778h)601a6cc2019-10-15 15:43:14 -040068 sonarcloud-api-token: '{sonarcloud_api_token}'
69 sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
70 sonarcloud-project-organization: '{sonarcloud_project_organization}'
Lott, Christopher (cl778h)34148442019-08-09 14:39:14 -040071 jobs:
72 - gerrit-tox-sonar
wrider5bf12752019-11-19 01:00:23 -050073
74- project:
75 <<: *a1_common
76 name: ricc-plt-a1-release
77 branch: master
78 # maven release requires sigul which requires centos
79 # container release requires docker
80 build-node: centos7-docker-2c-8g
81 jobs:
82 - '{project-name}-gerrit-release-jobs'