Skip to content

Commit 57fe61d

Browse files
committed
svm/ci: use "gate-" prefix for tiered jobs
1 parent 6fa0a1a commit 57fe61d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

substratevm/ci/ci_common/svm-gate.libsonnet

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@
4343
for f in _fields
4444
],
4545
mxgate_name:: outer.task_name,
46-
name: std.join("-", [outer.target, suite_short, self.mxgate_name] + config + [outer.jdk_name] + target_arch_suffix + [outer.os, outer.arch]) + batch_suffix,
46+
# we use the "gate-" prefix also for tiered jobs to avoid changing existing job names
47+
local name_prefix = if std.startsWith(outer.target, "tier") then "gate" else outer.target,
48+
name: std.join("-", [name_prefix, suite_short, self.mxgate_name] + config + [outer.jdk_name] + target_arch_suffix + [outer.os, outer.arch]) + batch_suffix,
4749
run+: [["mx", "--kill-with-sigquit", "--strict-compliance"] + dynamic_imports + ["gate", "--strict-mode", "--tags", std.join(",", outer.mxgate_tags)] + outer.mxgate_extra_args],
4850
}
4951
})),

0 commit comments

Comments
 (0)