Add validator for buildpack arch
This commit is contained in:
@@ -94,6 +94,7 @@ class ConfigurationValidationTest < ActiveSupport::TestCase
|
||||
assert_error "builder/arch: should be an array or a string", builder: { "arch" => {} }
|
||||
assert_error "builder/args: should be a hash", builder: { "args" => [ "foo" ] }
|
||||
assert_error "builder/cache/options: should be a string", builder: { "cache" => { "options" => [] } }
|
||||
assert_error "builder: buildpacks only support building for one arch", builder: { "arch" => [ "amd64", "arm64" ], "pack" => { "builder" => "heroku/builder:24" } }
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user