Class: Shipit::MarkDeployHealthyJob
- Inherits:
-
BackgroundJob
- Object
- ActiveJob::Base
- BackgroundJob
- Shipit::MarkDeployHealthyJob
- Includes:
- BackgroundJob::Unique
- Defined in:
- app/jobs/shipit/mark_deploy_healthy_job.rb
Constant Summary
Constants included from BackgroundJob::Unique
BackgroundJob::Unique::ConcurrentJobError, BackgroundJob::Unique::DEFAULT_TIMEOUT
Constants inherited from BackgroundJob
BackgroundJob::DEFAULT_RETRY_TIME_IN_SECONDS
Instance Method Summary collapse
Methods included from BackgroundJob::Unique
Instance Method Details
#perform(deploy) ⇒ Object
9 10 11 12 13 |
# File 'app/jobs/shipit/mark_deploy_healthy_job.rb', line 9 def perform(deploy) return unless deploy.validating? deploy.report_healthy!(description: "No issues were signalled after #{deploy.stack.release_status_delay}") end |