Skip to content

Commit

Permalink
Revert "Offer dry-run capability"
Browse files Browse the repository at this point in the history
This reverts commit 81b1d9a.
  • Loading branch information
relistan committed May 21, 2015
1 parent 64b5a5b commit 46ed6fc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 55 deletions.
6 changes: 0 additions & 6 deletions bin/centurion
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ opts = Trollop::options do
opt :registry_user, 'user for registry auth', type: String, short: :none
opt :registry_password,'password for registry auth', type: String, short: :none
opt :override_env, 'override environment variables, comma separated', type: String
opt :dry_run, 'print out docker command do run', type: :flag, default: false, short: :none
end

set_current_environment(opts[:environment].to_sym)
Expand Down Expand Up @@ -78,9 +77,4 @@ set :registry_user, opts[:registry_user] if opts[:registry_user]
set :registry_password, opts[:registry_password] if opts[:registry_password]

invoke('centurion:setup')
if opts[:dry_run]
Centurion::Mock.new(env).run
exit
end

invoke(opts[:action])
49 changes: 0 additions & 49 deletions lib/centurion/mock.rb

This file was deleted.

0 comments on commit 46ed6fc

Please sign in to comment.