module Luban::Deployment::Worker::Paths::Remote

Public Instance Methods

app_archives_path() click to toggle source
# File lib/luban/deployment/worker/paths.rb, line 85
def app_archives_path
  @app_archives_path ||= 
    archives_path.join("#{stage}.#{project}", application, hostname)
end
app_bin_path() click to toggle source
# File lib/luban/deployment/worker/paths.rb, line 61
def app_bin_path
  @app_bin_path ||= app_path.join('bin')
end
app_path() click to toggle source
# File lib/luban/deployment/worker/paths.rb, line 53
def app_path
  @app_path ||= project_path.join(application)
end
app_tmp_path() click to toggle source
# File lib/luban/deployment/worker/paths.rb, line 65
def app_tmp_path
  @app_tmp_path ||= app_path.join('tmp')
end
archived_logs_path() click to toggle source
# File lib/luban/deployment/worker/paths.rb, line 90
def archived_logs_path
  @archived_logs_path ||= app_archives_path.join('archived_logs')
end
archives_path() click to toggle source
# File lib/luban/deployment/worker/paths.rb, line 32
def archives_path
  @archives_path ||= luban_root_path.join('archives')
end
Also aliased as: local_archives_path
current_app_path() click to toggle source
# File lib/luban/deployment/worker/paths.rb, line 57
def current_app_path
  @current_app_path ||= app_path.join('app')
end
deployment_projects_path() click to toggle source
# File lib/luban/deployment/worker/paths.rb, line 20
def deployment_projects_path
  @deployment_projects_path ||= luban_root_path.join('projects')
end
docker_root_path() click to toggle source
# File lib/luban/deployment/worker/paths.rb, line 45
def docker_root_path
  @docker_root_path ||= luban_root_path.join('docker')
end
downloads_path() click to toggle source
# File lib/luban/deployment/worker/paths.rb, line 41
def downloads_path
  @downloads_path ||= luban_root_path.join('downloads')
end
env_path() click to toggle source
# File lib/luban/deployment/worker/paths.rb, line 28
def env_path
  @env_path ||= luban_root_path.join('env')
end
envrc_file() click to toggle source
# File lib/luban/deployment/worker/paths.rb, line 73
def envrc_file
  @envrc_file ||= app_path.join(".envrc")
end
local_archives_path()
Alias for: archives_path
packages_root_path() click to toggle source
# File lib/luban/deployment/worker/paths.rb, line 81
def packages_root_path
  @packages_root_path ||= luban_root_path.join('packages')
end
project_path() click to toggle source
# File lib/luban/deployment/worker/paths.rb, line 49
def project_path
  @project_path ||= env_path.join("#{stage}.#{project}")
end
releases_root_path() click to toggle source
# File lib/luban/deployment/worker/paths.rb, line 24
def releases_root_path
  @releases_root_path ||= luban_root_path.join('releases')
end
shared_path() click to toggle source
# File lib/luban/deployment/worker/paths.rb, line 69
def shared_path
  @shared_path ||= app_path.join('shared')
end
tmp_path() click to toggle source
# File lib/luban/deployment/worker/paths.rb, line 37
def tmp_path
  @tmp_path ||= luban_root_path.join('tmp')
end
unset_envrc_file() click to toggle source
# File lib/luban/deployment/worker/paths.rb, line 77
def unset_envrc_file
  @unset_envrc_file ||= app_path.join(".unset_envrc")
end