Class: DPL::Provider::Cloud66
Instance Attribute Summary
#context, #options
Instance Method Summary
collapse
apt_get, #check_app, #cleanup, #commit_msg, context, #create_key, #default_text_charset, #default_text_charset?, #deploy, deprecated, #detect_encoding?, #encoding_for, #error, experimental, #initialize, #log, new, npm_g, #option, pip, requires, #run, #setup_git_credentials, #setup_git_ssh, #sha, shell, #uncleanup, #user_agent, #warn
Constructor Details
This class inherits a constructor from DPL::Provider
Instance Method Details
#check_auth ⇒ Object
19
20
|
# File 'lib/dpl/provider/cloud66.rb', line 19
def check_auth
end
|
#needs_key? ⇒ Boolean
7
8
9
|
# File 'lib/dpl/provider/cloud66.rb', line 7
def needs_key?
false
end
|
#push_app ⇒ Object
11
12
13
14
15
16
17
|
# File 'lib/dpl/provider/cloud66.rb', line 11
def push_app
uri = URI.parse(redeployment_hook)
response = webhook_call(uri.scheme, uri.host, uri.port, uri.path)
error("Redeployment failed [#{response.code}]") if response.code != '200'
end
|