-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from palantirnet/apply-fixes-from-solr-update-…
…and-duplicity 1.x: Apply fixes from solr update and duplicity
- Loading branch information
Showing
15 changed files
with
70 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
rvm1_rubies: | ||
- 'ruby-2.1.3' | ||
- 'ruby-2.5.2' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
#!/bin/bash | ||
export PATH="$PATH:/home/vagrant/.rvm/rubies/ruby-2.3.1/bin" | ||
gem install bundler --no-ri --no-rdoc | ||
cd /tmp/tests | ||
# This script is run during the Packer build process. | ||
|
||
# Wherever the tests are expected to live. | ||
tests_path="/tmp/tests" | ||
specs_path="/tmp/tests/specs/*_spec.rb" | ||
|
||
# Load rvm into this session | ||
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" | ||
|
||
# Run serverspec | ||
cd "$tests_path" | ||
bundle install --path=vendor | ||
bundle exec rake spec | ||
bundle exec rake spec["$specs_path"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
require 'rake' | ||
require 'rspec/core/rake_task' | ||
|
||
RSpec::Core::RakeTask.new(:spec) do |t| | ||
t.pattern = '/tmp/tests/specs/*_spec.rb' | ||
RSpec::Core::RakeTask.new(:spec, :spec_pattern) do |t, task_args| | ||
if task_args[:spec_pattern].nil? || task_args[:spec_pattern].empty? | ||
print " Missing spec file pattern. Run with:\r\n" | ||
print " bundle exec rake spec[/path/to/*_spec.rb]\r\n" | ||
exit | ||
end | ||
|
||
t.pattern = task_args[:spec_pattern] | ||
end |