Class: UffizziCore::Deployment::DeleteJob

Inherits:
ApplicationJob show all
Defined in:
app/jobs/uffizzi_core/deployment/delete_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(id) ⇒ Object



8
9
10
11
12
13
# File 'app/jobs/uffizzi_core/deployment/delete_job.rb', line 8

def perform(id)
  Rails.logger.info("DEPLOYMENT_PROCESS deployment_id=#{id} DeleteJob")

  deployment = UffizziCore::Deployment.find(id)
  UffizziCore::ControllerService.delete_namespace(deployment)
end