Closed YOU54F closed 5 years ago
Also note, there is a change in tasks/package.rake
, I couldn't run bundle exec rake package
as per the packaging docs, and had to update line 82 in the aforementioned package file.
I noted a change to the filename further up the script in the history
https://github.com/pact-foundation/pact-mock_service/commit/36ea23fef8f82b1062e0a63a45690fd7359b7736
much confuse! :)
This was out the box with bundle exec rake package
and ruby 2.2.6 rebuilt with openssl (installed with rvm)
➜ pact-mock_service git:(feat/stubservicelog) ✗ bundle exec rake package
rm -rf build/tmp
mkdir -p build/tmp
cp pact-mock_service.gemspec Gemfile Gemfile.lock build/tmp/
mkdir -p build/tmp/lib/pact/mock_service
cp lib/pact/mock_service/version.rb build/tmp/lib/pact/mock_service/version.rb
cd build/tmp && env BUNDLE_IGNORE_CONFIG=1 bundle install --path ../vendor --without development
Using awesome_print 1.8.0
Using bundler 1.16.6
Using diff-lcs 1.3
Using filelock 1.1.1
Using find_a_port 1.0.1
Using json 2.2.0
Using randexp 0.1.7
Using rspec-support 3.8.0
Using rspec-core 3.8.0
Using rspec-expectations 3.8.3
Using rspec-mocks 3.8.0
Using rspec 3.8.0
Using tins 1.20.2
Using term-ansicolor 1.7.1
Using thor 0.20.3
Using pact-support 1.10.1
Using rack 2.0.7
Using webrick 1.3.1
Using pact-mock_service 3.0.1 from source at `.`
Bundle complete! 12 Gemfile dependencies, 19 gems now installed.
Gems in the group development were not installed.
Bundled gems are installed into `/Users/you54f/dev/saftest/githubrepos/forks/pact-mock_service/build/vendor`
rm -rf build/tmp
rm -f build/vendor/*/*/cache/*
rm -rf pact-mock-service-3.0.1-1-linux-x86
mkdir pact-mock-service-3.0.1-1-linux-x86
mkdir -p pact-mock-service-3.0.1-1-linux-x86/lib/app
mkdir -p pact-mock-service-3.0.1-1-linux-x86/bin
cp packaging/pact-mock-service.rb pact-mock-service-3.0.1-1-linux-x86/lib/app/pact-mock-service.rb
cp -pR lib pact-mock-service-3.0.1-1-linux-x86/lib/app
mkdir pact-mock-service-3.0.1-1-linux-x86/lib/ruby
tar -xzf build/traveling-ruby-20150715-2.2.2-linux-x86.tar.gz -C pact-mock-service-3.0.1-1-linux-x86/lib/ruby
cp packaging/wrapper.sh pact-mock-service-3.0.1-1-linux-x86/bin/pact-mock-service
cp -pR build/vendor pact-mock-service-3.0.1-1-linux-x86/lib/
cp pact-mock-service.gemspec Gemfile Gemfile.lock pact-mock-service-3.0.1-1-linux-x86/lib/vendor/
cp: pact-mock-service.gemspec: No such file or directory
rake aborted!
Command failed with status (1): [cp pact-mock-service.gemspec Gemfile Gemfi...]
/Users/you54f/.rvm/gems/ruby-2.2.6/gems/rake-10.0.4/lib/rake/file_utils.rb:53:in `block in create_shell_runner'
/Users/you54f/.rvm/gems/ruby-2.2.6/gems/rake-10.0.4/lib/rake/file_utils.rb:45:in `call'
/Users/you54f/.rvm/gems/ruby-2.2.6/gems/rake-10.0.4/lib/rake/file_utils.rb:45:in `sh'
/Users/you54f/.rvm/gems/ruby-2.2.6/gems/rake-10.0.4/lib/rake/file_utils_ext.rb:37:in `sh'
/Users/you54f/dev/saftest/githubrepos/forks/pact-mock_service/tasks/package.rake:87:in `create_package'
/Users/you54f/dev/saftest/githubrepos/forks/pact-mock_service/tasks/package.rake:16:in `block (3 levels) in <top (required)>'
/Users/you54f/.rvm/gems/ruby-2.2.6/gems/rake-10.0.4/lib/rake/task.rb:246:in `call'
/Users/you54f/.rvm/gems/ruby-2.2.6/gems/rake-10.0.4/lib/rake/task.rb:246:in `block in execute'
/Users/you54f/.rvm/gems/ruby-2.2.6/gems/rake-10.0.4/lib/rake/task.rb:241:in `each'
/Users/you54f/.rvm/gems/ruby-2.2.6/gems/rake-10.0.4/lib/rake/task.rb:241:in `execute'
/Users/you54f/.rvm/gems/ruby-2.2.6/gems/rake-10.0.4/lib/rake/task.rb:184:in `block in invoke_with_call_chain'
/Users/you54f/.rvm/gems/ruby-2.2.6/gems/rake-10.0.4/lib/rake/task.rb:177:in `invoke_with_call_chain'
/Users/you54f/.rvm/gems/ruby-2.2.6/gems/rake-10.0.4/lib/rake/task.rb:205:in `block in invoke_prerequisites'
/Users/you54f/.rvm/gems/ruby-2.2.6/gems/rake-10.0.4/lib/rake/task.rb:203:in `each'
/Users/you54f/.rvm/gems/ruby-2.2.6/gems/rake-10.0.4/lib/rake/task.rb:203:in `invoke_prerequisites'
/Users/you54f/.rvm/gems/ruby-2.2.6/gems/rake-10.0.4/lib/rake/task.rb:183:in `block in invoke_with_call_chain'
/Users/you54f/.rvm/gems/ruby-2.2.6/gems/rake-10.0.4/lib/rake/task.rb:177:in `invoke_with_call_chain'
/Users/you54f/.rvm/gems/ruby-2.2.6/gems/rake-10.0.4/lib/rake/task.rb:170:in `invoke'
/Users/you54f/.rvm/gems/ruby-2.2.6/gems/rake-10.0.4/lib/rake/application.rb:143:in `invoke_task'
/Users/you54f/.rvm/gems/ruby-2.2.6/gems/rake-10.0.4/lib/rake/application.rb:101:in `block (2 levels) in top_level'
/Users/you54f/.rvm/gems/ruby-2.2.6/gems/rake-10.0.4/lib/rake/application.rb:101:in `each'
/Users/you54f/.rvm/gems/ruby-2.2.6/gems/rake-10.0.4/lib/rake/application.rb:101:in `block in top_level'
/Users/you54f/.rvm/gems/ruby-2.2.6/gems/rake-10.0.4/lib/rake/application.rb:110:in `run_with_threads'
/Users/you54f/.rvm/gems/ruby-2.2.6/gems/rake-10.0.4/lib/rake/application.rb:95:in `top_level'
/Users/you54f/.rvm/gems/ruby-2.2.6/gems/rake-10.0.4/lib/rake/application.rb:73:in `block in run'
/Users/you54f/.rvm/gems/ruby-2.2.6/gems/rake-10.0.4/lib/rake/application.rb:160:in `standard_exception_handling'
/Users/you54f/.rvm/gems/ruby-2.2.6/gems/rake-10.0.4/lib/rake/application.rb:70:in `run'
/Users/you54f/.rvm/gems/ruby-2.2.6/bin/ruby_executable_hooks:24:in `eval'
/Users/you54f/.rvm/gems/ruby-2.2.6/bin/ruby_executable_hooks:24:in `<main>'
Tasks: TOP => package => package:linux:x86
(See full trace by running task with --trace)
Thank you!
Easy one, fixes #100
Showing info level only, still shows registered expectations, matches and mis-matches, but doesn't log full bodies (ideal for our CI server as the log buffer gets filled up)