Sha256: 517d20566bf4db5d9fd9b2f827536026dd510853976792e61abaa775da0fe2c9

Contents?: true

Size: 283 Bytes

Versions: 24

Compression:

Stored size: 283 Bytes

Contents

module Shipit
  class ContinuousDeliveryJob < BackgroundJob
    include BackgroundJob::Unique

    queue_as :default

    def perform(stack)
      return unless stack.continuous_deployment?
      return if stack.active_task?
      stack.trigger_continuous_delivery
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
shipit-engine-0.15.0 app/jobs/shipit/continuous_delivery_job.rb
shipit-engine-0.14.0 app/jobs/shipit/continuous_delivery_job.rb
shipit-engine-0.13.0 app/jobs/shipit/continuous_delivery_job.rb
shipit-engine-0.12.1 app/jobs/shipit/continuous_delivery_job.rb