Sha256: f85512bdae4af75c169f7a543e275e7a6621fe664233e6bdcd515f5b7427e42f

Contents?: true

Size: 342 Bytes

Versions: 10

Compression:

Stored size: 342 Bytes

Contents

# frozen_string_literal: true
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

10 entries across 10 versions & 1 rubygems

Version Path
shipit-engine-0.39.0 app/jobs/shipit/mark_deploy_healthy_job.rb
shipit-engine-0.38.0 app/jobs/shipit/mark_deploy_healthy_job.rb
shipit-engine-0.37.0 app/jobs/shipit/mark_deploy_healthy_job.rb
shipit-engine-0.36.1 app/jobs/shipit/mark_deploy_healthy_job.rb
shipit-engine-0.36.0 app/jobs/shipit/mark_deploy_healthy_job.rb
shipit-engine-0.35.1 app/jobs/shipit/mark_deploy_healthy_job.rb
shipit-engine-0.35.0 app/jobs/shipit/mark_deploy_healthy_job.rb
shipit-engine-0.34.0 app/jobs/shipit/mark_deploy_healthy_job.rb
shipit-engine-0.33.0 app/jobs/shipit/mark_deploy_healthy_job.rb
shipit-engine-0.32.0 app/jobs/shipit/mark_deploy_healthy_job.rb