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.29.0 app/jobs/shipit/continuous_delivery_job.rb
shipit-engine-0.28.1 app/jobs/shipit/continuous_delivery_job.rb
shipit-engine-0.28.0 app/jobs/shipit/continuous_delivery_job.rb
shipit-engine-0.27.1 app/jobs/shipit/continuous_delivery_job.rb
shipit-engine-0.27.0 app/jobs/shipit/continuous_delivery_job.rb
shipit-engine-0.26.0 app/jobs/shipit/continuous_delivery_job.rb
shipit-engine-0.25.1 app/jobs/shipit/continuous_delivery_job.rb
shipit-engine-0.25.0 app/jobs/shipit/continuous_delivery_job.rb
shipit-engine-0.24.0 app/jobs/shipit/continuous_delivery_job.rb
shipit-engine-0.23.1 app/jobs/shipit/continuous_delivery_job.rb
shipit-engine-0.23.0 app/jobs/shipit/continuous_delivery_job.rb
shipit-engine-0.22.0 app/jobs/shipit/continuous_delivery_job.rb
shipit-engine-0.21.0 app/jobs/shipit/continuous_delivery_job.rb
shipit-engine-0.20.1 app/jobs/shipit/continuous_delivery_job.rb
shipit-engine-0.20.0 app/jobs/shipit/continuous_delivery_job.rb
shipit-engine-0.19.0 app/jobs/shipit/continuous_delivery_job.rb
shipit-engine-0.18.1 app/jobs/shipit/continuous_delivery_job.rb
shipit-engine-0.18.0 app/jobs/shipit/continuous_delivery_job.rb
shipit-engine-0.17.0 app/jobs/shipit/continuous_delivery_job.rb
shipit-engine-0.16.0 app/jobs/shipit/continuous_delivery_job.rb