Sha256: 4b8587300a0f6c886f70b72da4e6d25f54189751cb09b744e82c0dc62a1c05d1
Contents?: true
Size: 628 Bytes
Versions: 402
Compression:
Stored size: 628 Bytes
Contents
module DPL class Provider class DotCloud < Provider experimental "dotCloud" pip 'dotcloud' def check_auth context.shell "echo #{option(:api_key)} | dotcloud setup --api-key" end def check_app context.shell "dotcloud connect #{option(:app)}" end def needs_key? false end def push_app context.shell "dotcloud push #{option(:app)}" end def run(command) service = options[:instance] || options[:service] || 'www' context.shell "dotcloud -A #{option(:app)} #{service} #{command}" end end end end
Version data entries
402 entries across 402 versions & 1 rubygems