Skip to content

Commit

Permalink
(MAINT) Add beaker-vmpooler for CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Dakta committed Aug 13, 2018
1 parent 5228933 commit 776f696
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,8 @@ end
# For running the spec/acceptance/example_spec.rb
gem 'beaker-vagrant'

# Dependencies for CI acceptance testing; TODO: fix CI so this can be removed
gem 'beaker-hostgenerator'
gem 'beaker-vmpooler', '~> 1.3'

gemspec
3 changes: 3 additions & 0 deletions beaker-rspec.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ Gem::Specification.new do |s|
s.add_development_dependency 'yard'
s.add_development_dependency 'thin'

# Dependency for example spec/acceptance tests
s.add_runtime_dependency 'beaker-pe'

if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.2.2')
s.add_development_dependency 'rack', '~> 1.6'
end
Expand Down
3 changes: 3 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# if you need DSL extension libraries, it appears that they have to be loaded before the RSpec shim
require "beaker-pe"

ENV['RS_SETFILE'] ||= 'sample.cfg'

require "beaker-rspec"

0 comments on commit 776f696

Please sign in to comment.