Sha256: 1ebb462378613d11b9a45093e36c26519577f1caed6aaac7757752157e32c764

Contents?: true

Size: 227 Bytes

Versions: 10

Compression:

Stored size: 227 Bytes

Contents

# frozen_string_literal: true
module Shipit
  class RollbackCommands < DeployCommands
    def steps
      deploy_spec.rollback_steps!
    end

    def env
      super.merge(
        'ROLLBACK' => '1',
      )
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
shipit-engine-0.39.0 lib/shipit/rollback_commands.rb
shipit-engine-0.38.0 lib/shipit/rollback_commands.rb
shipit-engine-0.37.0 lib/shipit/rollback_commands.rb
shipit-engine-0.36.1 lib/shipit/rollback_commands.rb
shipit-engine-0.36.0 lib/shipit/rollback_commands.rb
shipit-engine-0.35.1 lib/shipit/rollback_commands.rb
shipit-engine-0.35.0 lib/shipit/rollback_commands.rb
shipit-engine-0.34.0 lib/shipit/rollback_commands.rb
shipit-engine-0.33.0 lib/shipit/rollback_commands.rb
shipit-engine-0.32.0 lib/shipit/rollback_commands.rb