class Dpl::Providers::Cloudfoundry
Public Instance Methods
Source
# File lib/dpl/providers/cloudfoundry.rb, line 62 def finish shell :logout if logout? end
Source
# File lib/dpl/providers/cloudfoundry.rb, line 53 def login shell :api shell :login end
Source
# File lib/dpl/providers/cloudfoundry.rb, line 49 def validate error :manifest_missing if manifest? && manifest_missing? end
Private Instance Methods
Source
# File lib/dpl/providers/cloudfoundry.rb, line 84 def manifest_missing? !File.exist?(manifest) end
Source
# File lib/dpl/providers/cloudfoundry.rb, line 72 def push_args args = [] args << quote(app_name) if app_name? args << "-f #{manifest}" if manifest? args << "--strategy #{deployment_strategy}" if deployment_strategy? args.join(' ') end
Source
# File lib/dpl/providers/cloudfoundry.rb, line 68 def push_cmd v3? ? 'v3-push' : 'push' end
Source
# File lib/dpl/providers/cloudfoundry.rb, line 80 def skip_ssl_validation_opt '--skip-ssl-validation' if skip_ssl_validation? end