Skip to content

Commit 6383299

Browse files
committed
[GR-68644] Move sdk gates to tier3 or post-merge.
PullRequest: graal/21820
2 parents 55485b0 + cdf3336 commit 6383299

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

sdk/ci/ci.jsonnet

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22
local common = import '../../ci/ci_common/common.jsonnet',
33
local utils = import '../../ci/ci_common/common-utils.libsonnet',
44

5+
local normalize_target_with_dash(t) = if std.startsWith(t, "post-merge") then "" # no prefix for 'post-merge'
6+
else if std.startsWith(t, "tier") then "gate-" # keep 'gate' prefix for now, and add dash
7+
else t + '-', # default for everything else, including dash
8+
59
local sdk_gate(target) = common.deps.spotbugs {
6-
name: target + '-sdk-oracle' + self.jdk_name + '-' + self.os + '-' + self.arch,
10+
name: normalize_target_with_dash(target) + 'sdk-oracle' + self.jdk_name + '-' + self.os + '-' + self.arch,
711
setup: [
812
["cd", "./sdk"],
913
],
@@ -19,10 +23,10 @@
1923
},
2024

2125
local _builds = [
22-
common.linux_amd64 + common.oraclejdkLatest + sdk_gate("gate") + common.deps.eclipse + common.deps.jdt,
23-
common.linux_amd64 + common.oraclejdk21 + sdk_gate("gate") + common.deps.eclipse + common.deps.jdt,
24-
common.darwin_aarch64 + common.oraclejdkLatest + sdk_gate("gate"),
25-
common.darwin_aarch64 + common.oraclejdk21 + sdk_gate("gate"),
26+
common.linux_amd64 + common.oraclejdkLatest + sdk_gate("tier3") + common.deps.eclipse + common.deps.jdt,
27+
common.linux_amd64 + common.oraclejdk21 + sdk_gate("post-merge") + common.deps.eclipse + common.deps.jdt,
28+
common.darwin_aarch64 + common.oraclejdkLatest + sdk_gate("tier3"),
29+
common.darwin_aarch64 + common.oraclejdk21 + sdk_gate("post-merge"),
2630
common.darwin_amd64 + common.oraclejdkLatest + sdk_gate("daily"),
2731
common.darwin_amd64 + common.oraclejdk21 + sdk_gate("daily"),
2832
],

0 commit comments

Comments
 (0)