Skip to content

Commit

Permalink
Merge pull request #46 from rails/rack-2
Browse files Browse the repository at this point in the history
Rack 3.0 is the default, continue testing Rack 2.0 for compatibility
  • Loading branch information
guilleiguaran committed Jun 13, 2023
2 parents 6b42a0d + ead30c3 commit ad0c839
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions pipeline-generate
Original file line number Diff line number Diff line change
Expand Up @@ -304,16 +304,14 @@ steps_for("railties", "test", service: "railties") do |x|
end

step_for("actionpack", "test", service: "default", pre_steps: ["bundle install"]) do |x|
x["label"] += " [rack-3]"
x["env"]["RACK"] = "~> 3.0"
x["soft_fail"] = true
x["label"] += " [rack-2]"
x["env"]["RACK"] = "~> 2.0"
end

step_for("railties", "test", service: "railties", pre_steps: ["bundle install"]) do |x|
x["parallelism"] = 12 if REPO_ROOT.join("railties/Rakefile").read.include?("BUILDKITE_PARALLEL")
x["label"] += " [rack-3]"
x["env"]["RACK"] = "~> 3.0"
x["soft_fail"] = true
x["label"] += " [rack-2]"
x["env"]["RACK"] = "~> 2.0"
end

# Ugly hacks to just get the build passing for now
Expand Down

0 comments on commit ad0c839

Please sign in to comment.