blob: 1a9762c3a2a1e2972420153def0943e21dae639e [file] [log] [blame]
DW Talton57a1f052019-09-05 11:00:12 -07001---
2- project:
3 name: oam-project-view
4 project-name: oam
5 views:
6 - project-view
7
8- project:
9 name: oam-info
10 project: oam
11 project-name: oam
Aric Gardnerda252d22019-10-11 16:10:03 -040012 build-node: centos7-builder-1c-1g
DW Talton57a1f052019-09-05 11:00:12 -070013 jobs:
14 - gerrit-info-yaml-verify
herbert91ed2212020-03-20 18:16:26 +010015
herbert9e778352020-03-27 09:59:53 +010016# common for all mvn jobs
17- oam_common: &oam_common
18 name: oam-common
herbert91ed2212020-03-20 18:16:26 +010019 project: oam
herbert9e778352020-03-27 09:59:53 +010020 project-name: oam
herbert91ed2212020-03-20 18:16:26 +010021 mvn-settings: oam-settings
herbert91ed2212020-03-20 18:16:26 +010022 java-version: openjdk8
23 maven-version: mvn35
herbert9e778352020-03-27 09:59:53 +010024
25# promote artifacts and images to release registries
26- project:
27 <<: *oam_common
28 name: oam-release
29 build-node: centos7-docker-2c-8g
30 jobs:
31 - '{project-name}-gerrit-release-jobs'
32
33# oam:features
34# commmon for feature artifacts for nonrtric-o1-controller
35- oam_features_common: &oam_features_common
36 name: oam-features-common
37 project-name: oam-features
herbert91ed2212020-03-20 18:16:26 +010038 mvn-opts: '-Xmx3072m -XX:MaxPermSize=1024m'
39 mvn-params: '-f features'
40 gerrit_trigger_file_paths:
41 - compare-type: REG_EXP
42 pattern: 'features/.*'
43
herbert9e778352020-03-27 09:59:53 +010044# build feature artifacts for nonrtric-o1-controller
herbert91ed2212020-03-20 18:16:26 +010045- project:
herbert9e778352020-03-27 09:59:53 +010046 <<: *oam_common
herbert91ed2212020-03-20 18:16:26 +010047 <<: *oam_features_common
48 name: oam-features
49 build-node: ubuntu1804-builder-4c-4g
50 jobs:
51 - gerrit-maven-verify
52 - gerrit-maven-merge
53 - gerrit-maven-stage
54 - gerrit-maven-clm
55 stream:
56 - 'master':
57 branch: 'master'
58
herbert9e778352020-03-27 09:59:53 +010059# report test coverage periodically for feature artifacs
herbert91ed2212020-03-20 18:16:26 +010060- project:
herbert9e778352020-03-27 09:59:53 +010061 <<: *oam_common
herbert91ed2212020-03-20 18:16:26 +010062 <<: *oam_features_common
63 name: oam-features-sonar
64 sonarcloud: true
65 sonarcloud-api-token: '{sonarcloud_api_token}'
66 sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
67 sonarcloud-project-organization: '{sonarcloud_project_organization}'
Lott, Christopher (cl778h)4a7a2212020-03-29 21:22:02 -040068 build-node: ubuntu1804-builder-4c-4g
herbert91ed2212020-03-20 18:16:26 +010069 jobs:
70 - gerrit-maven-sonar
71
herbert9e778352020-03-27 09:59:53 +010072# oam:parent
73# common for feature parents for nonrtric-o1-controller feature artifacts
herbert91ed2212020-03-20 18:16:26 +010074- oam_parent_common: &oam_parent_common
herbert91ed2212020-03-20 18:16:26 +010075 name: oam-parent-common
herbert91ed2212020-03-20 18:16:26 +010076 project-name: oam-parent
herbert91ed2212020-03-20 18:16:26 +010077 mvn-opts: '-Xmx3072m -XX:MaxPermSize=1024m'
78 mvn-params: '-f parent'
79 gerrit_trigger_file_paths:
80 - compare-type: REG_EXP
81 pattern: 'parent/.*'
82
herbert9e778352020-03-27 09:59:53 +010083# building feature parents for nonrtric-o1-controller feature artifacts
herbert91ed2212020-03-20 18:16:26 +010084- project:
herbert9e778352020-03-27 09:59:53 +010085 <<: *oam_common
herbert91ed2212020-03-20 18:16:26 +010086 <<: *oam_parent_common
87 name: oam-parents
88 build-node: ubuntu1804-builder-4c-4g
89 jobs:
90 - gerrit-maven-verify
91 - gerrit-maven-merge
92 - gerrit-maven-stage
93 - gerrit-maven-clm
94 stream:
95 - 'master':
96 branch: 'master'
97
herbert9e778352020-03-27 09:59:53 +010098# report test coverage periodically
herbert91ed2212020-03-20 18:16:26 +010099- project:
herbert9e778352020-03-27 09:59:53 +0100100 <<: *oam_common
herbert91ed2212020-03-20 18:16:26 +0100101 <<: *oam_parent_common
102 name: oam-parent-sonar
103 sonarcloud: true
104 sonarcloud-api-token: '{sonarcloud_api_token}'
105 sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
106 sonarcloud-project-organization: '{sonarcloud_project_organization}'
Lott, Christopher (cl778h)4a7a2212020-03-29 21:22:02 -0400107 build-node: ubuntu1804-builder-4c-4g
herbert91ed2212020-03-20 18:16:26 +0100108 jobs:
109 - gerrit-maven-sonar
herbert9e778352020-03-27 09:59:53 +0100110
111# oam:distribution
112# common for oam-distribution docker projects
113- oam_distribution_common: &oam_distribution_common
114 name: oam-distribution-common
115 project-name: oam-distribution
116 mvn-opts: '-Xmx3072m -XX:MaxPermSize=1024m'
117 mvn-params: '-f distribution -Dbuild.number=${{BUILD_NUMBER}}'
118 gerrit_trigger_file_paths:
119 - compare-type: REG_EXP
120 pattern: 'distribution/.*'
121
122# build docker images for nonrtric-o1-controller
123- project:
124 <<: *oam_common
125 <<: *oam_distribution_common
126 name: oam-distribution
127 jobs:
128 - gerrit-maven-docker-verify
129 - gerrit-maven-docker-merge
130 - gerrit-maven-docker-stage
131 stream:
132 - master:
133 branch: 'master'