Module: Avm::EacWebappBase0::Instances::Base::DeployInfo

Defined in:
lib/avm/eac_webapp_base0/instances/base/deploy_info.rb

Constant Summary collapse

DEPLOY_INFO_SUBPATH =
'.deploy.yaml'

Instance Method Summary collapse

Instance Method Details

#deploy_infoAvm::EacWebappBase0::Instances::DeployInfo



16
17
18
19
20
# File 'lib/avm/eac_webapp_base0/instances/base/deploy_info.rb', line 16

def deploy_info
  ::Avm::EacWebappBase0::Instances::DeployInfo.from_string(
    host_env.command('cat', deploy_info_path).execute!
  )
end

#deploy_info_pathPathname

Returns:

  • (Pathname)


23
24
25
# File 'lib/avm/eac_webapp_base0/instances/base/deploy_info.rb', line 23

def deploy_info_path
  install_path.to_pathname.join(DEPLOY_INFO_SUBPATH)
end