This repository has been archived by the owner on Mar 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Anthony Dreessen
committed
Mar 28, 2015
1 parent
87567cf
commit ca81a7e
Showing
4 changed files
with
22 additions
and
50 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
require 'cf_deploy' | ||
|
||
desc "Securely deploy to Cloud Foundry: tag commits and require confirmation" | ||
task :cf_deploy, :deploy_env do |t, args| | ||
puts "starting deploy to #{args.deploy_env}" | ||
task :cf_deploy, :deploy_org, :deploy_space, :deploy_env do |t, args| | ||
puts "starting deploy to #{args.deploy_org} - #{args.deploy_space} : #{args.deploy_env}" | ||
authenticator = CF_authenticator.new() | ||
tagger = CF_git_tagger.new() | ||
CF_deploy.new(STDIN, STDOUT, args.deploy_env.to_s, authenticator, tagger).deploy_to_env | ||
CF_deploy.new(STDIN, STDOUT, args.deploy_org.to_s, args.deploy_space.to_s, args.deploy_env.to_s, authenticator, tagger).deploy_to_env | ||
|
||
end |
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