Class: DPL::Provider::Anynines

Inherits:
CloudFoundry show all
Defined in:
lib/dpl/provider/anynines.rb

Instance Attribute Summary

Attributes inherited from DPL::Provider

#context, #options

Instance Method Summary collapse

Methods inherited from CloudFoundry

#check_app, #cleanup, #initial_go_tools_install, #manifest, #needs_key?, #push_app, #uncleanup

Methods inherited from DPL::Provider

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, #needs_key?, 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_authObject



5
6
7
8
9
# File 'lib/dpl/provider/anynines.rb', line 5

def check_auth
  initial_go_tools_install
  context.shell "./cf api https://api.aws.ie.a9s.eu"
  context.shell "./cf login -u #{option(:username)} -p #{option(:password)} -o #{option(:organization)} -s #{option(:space)}"
end