Skip to content

Commit 3b24427

Browse files
committed
[GR-62430] General changes to simplify the implementation of gate tiers.
PullRequest: graal/21286
2 parents af3b1bb + f057ad2 commit 3b24427

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ci.jsonnet

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ local libgraal(builds, include=true) = [b for b in builds if (std.findSubstr("li
5151
ci_resources:: (import 'ci/ci_common/ci-resources.libsonnet'),
5252
overlay: graal_common.ci.overlay,
5353
specVersion: "4",
54+
tierConfig: {
55+
tier1: "gate",
56+
tier2: "gate",
57+
tier3: "gate",
58+
},
5459
builds: [common.add_excludes_guard(common.with_style_component(b)) for b in (
5560
common.with_components(compiler.builds + libgraal(vm.builds), ["compiler"]) +
5661
common.with_components(wasm.builds, ["wasm"]) +

ci/ci_common/common-utils.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# Adds a CI build predicate to `build` if it is a gate such that it is only
2626
# run if a top level CI file or a non-documentation file in any of `suites` has been updated
2727
add_gate_predicate(build, suites, extra_includes=[], extra_excludes=[])::
28-
if std.member(build.targets, "gate") then
28+
if std.member(build.targets, "gate") || std.member(build.targets, "tier1") || std.member(build.targets, "tier2") || std.member(build.targets, "tier3") then
2929
build + {
3030
guard+: {
3131
includes+: [ suite + "/**" for suite in suites ] + extra_includes + $.top_level_ci,

0 commit comments

Comments
 (0)