Sha256: 01a3978c2cc7440d56628b8b8f7b797e1a95b2b794371ef534d9a7ac5055e549

Contents?: true

Size: 312 Bytes

Versions: 7

Compression:

Stored size: 312 Bytes

Contents

module Shipit
  class MarkDeployHealthyJob < BackgroundJob
    include BackgroundJob::Unique

    queue_as :default

    def perform(deploy)
      return unless deploy.validating?

      deploy.report_healthy!(description: "No issues were signalled after #{deploy.stack.release_status_delay}")
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
shipit-engine-0.31.0 app/jobs/shipit/mark_deploy_healthy_job.rb
shipit-engine-0.30.0 app/jobs/shipit/mark_deploy_healthy_job.rb
shipit-engine-0.29.0 app/jobs/shipit/mark_deploy_healthy_job.rb
shipit-engine-0.28.1 app/jobs/shipit/mark_deploy_healty_job.rb
shipit-engine-0.28.0 app/jobs/shipit/mark_deploy_healty_job.rb
shipit-engine-0.27.1 app/jobs/shipit/mark_deploy_healty_job.rb
shipit-engine-0.27.0 app/jobs/shipit/mark_deploy_healty_job.rb