Class: Dpl::Providers::Gleis
- Inherits:
-
Dpl::Provider
- Object
- Cl::Cmd
- Dpl::Provider
- Dpl::Providers::Gleis
- Defined in:
- lib/dpl/providers/gleis.rb
Constant Summary
Constants inherited from Dpl::Provider
Dpl::Provider::FOLDS, Dpl::Provider::STAGES
Instance Attribute Summary collapse
-
#git_url ⇒ Object
readonly
Returns the value of attribute git_url.
Attributes inherited from Dpl::Provider
Instance Method Summary collapse
- #add_key(file) ⇒ Object
- #deploy ⇒ Object
- #login ⇒ Object
- #remove_key ⇒ Object
- #setup ⇒ Object
- #validate ⇒ Object
Methods inherited from Dpl::Provider
#before_finish, #before_init, #before_install, #before_prepare, #before_setup, #chmod, #cleanup, #cmd, #compact, #err, #error, #escape, examples, #expand, #file?, #finish?, #fold, #fold?, #info, #initialize, install_deps, install_deps?, #mkdir_p, move_files, #msg, #mv, #only, #open, #opt_for, #opt_key, #opts_for, #print, #quote, #read, #remove_dpl_dir, #rm_rf, #run, #run_cmd, #run_cmds, #run_stage, #run_stage?, #script, #setup_dpl_dir, #setup_git_config, #setup_git_http_user_agent, #setup_git_ssh, #setup_ssh_key, #shell, #sq, #ssh_keygen, #symbolize, #try_ssh_access, #uncleanup, unmove_files, validate_runtimes, #wait_for_ssh_access, #warn
Methods included from Dpl::Provider::Dsl
#apt, #apt?, #cmds, #description, #env, #errs, #full_name, #gem, #gem?, #keep, #move, #msgs, #needs, #needs?, #node_js, #npm, #npm?, #opt, #path, #pip, #pip?, #python, #ruby_pre?, #ruby_version, #runtimes, #status, #strs, #summary, #user_agent, #vars
Methods included from Squiggle
Methods included from Assets
Methods included from Env
Methods included from ConfigFile
Methods included from Interpolate
#interpolate, #obfuscate, #vars
Methods included from Memoize
Constructor Details
This class inherits a constructor from Dpl::Provider
Instance Attribute Details
#git_url ⇒ Object (readonly)
Returns the value of attribute git_url.
42 43 44 |
# File 'lib/dpl/providers/gleis.rb', line 42 def git_url @git_url end |
Instance Method Details
#add_key(file) ⇒ Object
56 57 58 |
# File 'lib/dpl/providers/gleis.rb', line 56 def add_key(file) shell :add_key, file: end |
#deploy ⇒ Object
60 61 62 |
# File 'lib/dpl/providers/gleis.rb', line 60 def deploy shell :deploy end |
#login ⇒ Object
44 45 46 |
# File 'lib/dpl/providers/gleis.rb', line 44 def login shell :login end |
#remove_key ⇒ Object
64 65 66 |
# File 'lib/dpl/providers/gleis.rb', line 64 def remove_key shell :remove_key end |
#setup ⇒ Object
48 49 50 |
# File 'lib/dpl/providers/gleis.rb', line 48 def setup @git_url = shell :git_url, capture: true end |
#validate ⇒ Object
52 53 54 |
# File 'lib/dpl/providers/gleis.rb', line 52 def validate shell :validate end |