vaguerent/test/vagrant-spec/configs/vagrant-spec.config.docker.rb

16 lines
523 B
Ruby

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
require_relative "../../acceptance/base"
Vagrant::Spec::Acceptance.configure do |c|
c.component_paths << File.expand_path("../../../acceptance", __FILE__)
c.skeleton_paths << File.expand_path("../../../acceptance/skeletons", __FILE__)
# Allow for slow setup to still pass
c.assert_retries = 15
c.vagrant_path = ENV.fetch("VAGRANT_PATH", "vagrant")
c.provider "docker",
image: ENV["VAGRANT_SPEC_DOCKER_IMAGE"],
box: "placeholder"
end