@@ -134,41 +134,42 @@ local ci = import '../ci.jsonnet';
134134 local defaultToTarget = ci.defaultToTarget,
135135 local includePlatforms = ci.includePlatforms,
136136 local excludePlatforms = ci.excludePlatforms,
137- local gateOnMain = ci.gateOnMain,
137+ local tier1 = ci.promoteToTier1(),
138+ local tier2 = ci.promoteToTier2(),
139+ local tier3 = ci.promoteToTarget(common.tier3, [ci.mainGatePlatform]),
138140
139141 // Style gates
140142 local styleBuilds = generateBuilds([
141- graalJs + common.gateStyleFullBuild + {name: 'style-fullbuild' }
142- ], platforms=ci.styleGatePlatforms, defaultTarget=common.gate ),
143+ graalJs + common.gateStyleFullBuild + tier1 + {name: 'style-fullbuild' }
144+ ], platforms=ci.styleGatePlatforms, defaultTarget=common.tier3 ),
143145
144146 // Builds that should run on all supported platforms
145147
146148 local testingBuilds = local bs = [
147- graalJs + gateTags('default' ) + ce + {name: 'default-ce' } +
148- promoteToTarget(common.gate , [common.jdklatest + common.linux_amd64, common.jdklatest + common.linux_aarch64, common.jdklatest + common.windows_amd64]),
149- graalJs + gateTags('default' ) + ee + {name: 'default-ee' } +
150- promoteToTarget(common.gate , [common.jdklatest + common.linux_amd64, common.jdklatest + common.darwin_aarch64]) +
149+ graalJs + gateTags('default' ) + tier2 + ce + {name: 'default-ce' } +
150+ promoteToTarget(common.tier3 , [common.jdklatest + common.linux_aarch64, common.jdklatest + common.windows_amd64]),
151+ graalJs + gateTags('default' ) + tier2 + ee + {name: 'default-ee' } +
152+ promoteToTarget(common.tier3 , [common.jdklatest + common.darwin_aarch64]) +
151153 promoteToTarget(common.postMerge, [common.jdklatest + common.darwin_amd64]),
152154
153- graalJs + gateTags('noic' ) + {name: 'noic' } + gateOnMain ,
154- graalJs + gateTags('directbytebuffer' ) + {name: 'directbytebuffer' } + gateOnMain ,
155- graalJs + gateTags('cloneuninitialized' ) + {name: 'cloneuninitialized' } + gateOnMain ,
156- graalJs + gateTags('lazytranslation' ) + {name: 'lazytranslation' } + gateOnMain ,
157- graalJs + gateTags('shareengine' ) + {name: 'shareengine' } + gateOnMain ,
158- graalJs + gateTags('latestversion' ) + {name: 'latestversion' } + gateOnMain ,
159- graalJs + gateTags('instrument' ) + {name: 'instrument' } + gateOnMain ,
160- graalJs + gateTags('tck' ) + {name: 'tck' } + gateOnMain +
155+ graalJs + gateTags('noic' ) + tier3 + {name: 'noic' },
156+ graalJs + gateTags('directbytebuffer' ) + tier3 + {name: 'directbytebuffer' },
157+ graalJs + gateTags('cloneuninitialized' ) + tier3 + {name: 'cloneuninitialized' },
158+ graalJs + gateTags('lazytranslation' ) + tier3 + {name: 'lazytranslation' },
159+ graalJs + gateTags('shareengine' ) + tier3 + {name: 'shareengine' },
160+ graalJs + gateTags('latestversion' ) + tier3 + {name: 'latestversion' },
161+ graalJs + gateTags('instrument' ) + tier2 + {name: 'instrument' },
162+ graalJs + gateTags('tck' ) + tier2 + {name: 'tck' } +
161163 excludePlatforms([common.darwin_amd64]), # Timeout/OOME
162- graalJs + webassemblyTest + {name: 'webassembly' } + gateOnMain ,
163- graalJs + nativeImageSmokeTest + {name: 'native-image-smoke-test' } + gateOnMain ,
164- graalJs + auxEngineCache + ee + {name: 'aux-engine-cache' } + gateOnMain +
164+ graalJs + webassemblyTest + tier2 + {name: 'webassembly' },
165+ graalJs + nativeImageSmokeTest + tier2 + {name: 'native-image-smoke-test' },
166+ graalJs + auxEngineCache + tier2 + ee + {name: 'aux-engine-cache' } +
165167 excludePlatforms([common.windows_amd64, common.darwin_amd64]), # unsupported on windows, too slow on darwin-amd64
166168
167169 // downstream graal gate
168- graalJs + downstreamGraal + {name: 'downstream-graal' } +
169- promoteToTarget(common.gate, [ci.mainGatePlatform]) +
170+ graalJs + downstreamGraal + tier2 + {name: 'downstream-graal' } +
170171 includePlatforms([ci.mainGatePlatform]), # GR-62152: language permissions tool supports only linux
171- graalJs + downstreamSubstratevmEE + {environment+: {TAGS: 'downtest_js' }} + {name: 'downstream-substratevm-enterprise' } + gateOnMain +
172+ graalJs + downstreamSubstratevmEE + {environment+: {TAGS: 'downtest_js' }} + tier3 + {name: 'downstream-substratevm-enterprise' } +
172173 excludePlatforms([common.darwin_amd64]) + # Too slow
173174 excludePlatforms([common.linux_aarch64]), # Fails on Linux AArch64 with "Creation of the VM failed."
174175
@@ -193,7 +194,7 @@ local ci = import '../ci.jsonnet';
193194
194195 // Builds that only need to run on one platform
195196 local otherBuilds = generateBuilds([
196- graalJs + common.gate + mavenDeployDryRun + {name: 'maven-dry-run' },
197+ graalJs + common.tier3 + mavenDeployDryRun + {name: 'maven-dry-run' },
197198 # Note: weekly coverage is sync'ed with the graal repo (while ondemand is not).
198199 graalJs + common.weekly + gateCoverage + {name: 'coverage' },
199200 graalJs + common.ondemand + gateCoverage + {name: 'coverage' },
0 commit comments