Sha256: ca7132e610a7bc7fcc597845e9ae332f10f60039ae9d3f0ed6878f0151812628

Contents?: true

Size: 248 Bytes

Versions: 2

Compression:

Stored size: 248 Bytes

Contents

module Shipit
  class ContinuousDeliveryJob < BackgroundJob
    include BackgroundJob::Unique

    queue_as :default

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shipit-engine-0.12.0 app/jobs/shipit/continuous_delivery_job.rb
shipit-engine-0.11.0 app/jobs/shipit/continuous_delivery_job.rb