Skip to content

Commit

Permalink
(maint) Consolidate puppetserver and puppetserver-standalone spec tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgan Rhodes committed Feb 11, 2019
1 parent 90d74ca commit 5e99444
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 64 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ endif

test: prep
@bundle install --path .bundle/gems
@PUPPET_TEST_DOCKER_IMAGE=puppet/puppetserver-standalone:$(version) bundle exec rspec --options puppetserver-standalone/.rspec puppetserver-standalone/spec
@PUPPET_TEST_DOCKER_IMAGE=puppet/puppetserver:$(version) bundle exec rspec --options puppetserver/.rspec puppetserver/spec
@PUPPET_TEST_DOCKER_IMAGE=puppet/puppetserver-standalone:$(version) bundle exec rspec --options puppetserver-standalone/.rspec spec
@PUPPET_TEST_DOCKER_IMAGE=puppet/puppetserver:$(version) bundle exec rspec --options puppetserver/.rspec spec

publish: prep
@docker push puppet/puppetserver-standalone:$(version)
Expand Down
2 changes: 1 addition & 1 deletion ci/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function Invoke-ContainerTest(

bundle install --path .bundle/gems
$ENV:PUPPET_TEST_DOCKER_IMAGE = "$Namespace/${Name}:$Version"
bundle exec rspec --options $Name/.rspec $Name/spec
bundle exec rspec --options $Name/.rspec spec

Pop-Location
}
Expand Down
61 changes: 0 additions & 61 deletions puppetserver-standalone/spec/puppetserver_spec.rb

This file was deleted.

File renamed without changes.

0 comments on commit 5e99444

Please sign in to comment.