Class: Afterlife::Deploy::KubernetesDeployment
- Inherits:
-
Deployment
- Object
- Deployment
- Afterlife::Deploy::KubernetesDeployment
- Defined in:
- lib/afterlife/deploy/kubernetes_deployment.rb
Defined Under Namespace
Classes: AwsAuth
Instance Attribute Summary
Attributes inherited from Deployment
Instance Method Summary collapse
Methods inherited from Deployment
#initial_message, #initialize, #output, #repo_command
Constructor Details
This class inherits a constructor from Afterlife::Deploy::Deployment
Instance Method Details
#confirmation_message ⇒ Object
19 20 21 |
# File 'lib/afterlife/deploy/kubernetes_deployment.rb', line 19 def 'You are about to deploy the current directory' end |
#run ⇒ Object
15 16 17 |
# File 'lib/afterlife/deploy/kubernetes_deployment.rb', line 15 def run Exec.run(commands) end |
#setup ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/afterlife/deploy/kubernetes_deployment.rb', line 6 def setup Afterlife.current_repo.env.set('PLATFORM' => 'linux/amd64') if deploy_stage? Afterlife.current_repo.env.set!( 'REGISTRY' => registry, 'TAG' => repo.current_revision, ) end |