Skip to content

Commit 0aca034

Browse files
chore(ci): use larger instances for sanitizers
1 parent b094c45 commit 0aca034

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.drone.jsonnet

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ local echo_running_on = [
106106
make_clickable_link("https://us-east-1.console.aws.amazon.com/ec2/home?region=us-east-1#Instances:search=:${DRONE_STAGE_MACHINE};v=3;$case=tags:true%5C,client:false;$regex=tags:false%5C,client:false;sort=desc:launchTime"),
107107
];
108108

109-
local Pipeline(branch, platform, event, arch="amd64", server="10.6-enterprise", customBootstrapParamsKey="", customBuildEnvCommandsMapKey="", ignoreFailureStepList=[]) = {
109+
local Pipeline(branch, platform, event, arch="amd64", server="10.6-enterprise", customBootstrapParamsKey="", customBuildEnvCommandsMapKey="", ignoreFailureStepList=[], node_selector={}) = {
110110
local pkg_format = if (std.split(platform, ":")[0] == "rockylinux") then "rpm" else "deb",
111111
local img = if (platform == "rockylinux:8") then platform else "detravi/" + std.strReplace(platform, "/", "-"),
112112
local branch_ref = if (branch == any_branch) then current_branch else branch,
@@ -663,7 +663,7 @@ local Pipeline(branch, platform, event, arch="amd64", server="10.6-enterprise",
663663
event: [event],
664664
branch: [branch],
665665
},
666-
};
666+
} + (if node_selector != {} then { node: node_selector } else {});
667667

668668

669669
local AllPipelines =
@@ -721,7 +721,7 @@ local AllPipelines =
721721
// for server in servers[current_branch]
722722
// ] +
723723
[
724-
Pipeline(b, platform, triggeringEvent, a, server, flag, "")
724+
Pipeline(b, platform, triggeringEvent, a, server, flag, "", [], { size: "heavy" })
725725
for a in ["amd64"]
726726
for b in std.objectFields(platforms)
727727
for platform in ["ubuntu:24.04"]

0 commit comments

Comments
 (0)