Class: UffizziCore::Deployment::CreateJob
- Inherits:
-
ApplicationJob
- Object
- ApplicationJob
- UffizziCore::Deployment::CreateJob
- Defined in:
- app/jobs/uffizzi_core/deployment/create_job.rb
Instance Method Summary collapse
Instance Method Details
#perform(id) ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'app/jobs/uffizzi_core/deployment/create_job.rb', line 6 def perform(id) Rails.logger.info("DEPLOYMENT_PROCESS deployment_id=#{id} CreateJob") deployment = UffizziCore::Deployment.find(id) UffizziCore::ControllerService.create_deployment(deployment) UffizziCore::Deployment::CreateCredentialsJob.perform_async(deployment.id) end |