lib/dpl/provider/bluemix_cloud_foundry.rb
# NOTE: Much of this class is duplicated from CloudFoundry.
# This is by design. By duplicating a manageable amount of
# code here, we prevent this provider and its gem `dpl-bluemix_cloud_foundry`
# from having a dependency on `dpl-cloudfoundry`.
# Having less dependency is desirable when we install this gem
# from source.
Much of this class is duplicated from CloudFoundry.
This is by design. By duplicating a manageable amount of
code here, we prevent this provider and its gem `dpl-bluemix_cloud_foundry`
from having a dependency on `dpl-cloudfoundry`.
Having less dependency is desirable when we install this gem
from source.
Much of this class is duplicated from CloudFoundry . This is by design . By duplicating a manageable amount of code here we prevent this provider and its gem ` dpl - bluemix_cloud_foundry ` from having a dependency on ` dpl - cloudfoundry ` . Having less dependency is desirable when we install this gem from source .
def push_app
        command = "./cf #{shell_command} #{options[:app]}#{manifest}"
        log "Command: #{command}"
        error 'Failed to push app' unless context.shell(command)
      ensure
        context.shell "./cf logout"
      end
def push_app command = "./cf #{shell_command} #{options[:app]}#{manifest}" log "Command: #{command}" error 'Failed to push app' unless context . shell ( command ) ensure context . shell "./cf logout" end
NOTE: Much of this class is duplicated from CloudFoundry.
NOTE : Much of this class is duplicated from CloudFoundry .