Sha256: a802d60f784ce3c4463f254d6a4b28340e77f9a31eb7887b240aa21c46535242

Contents?: true

Size: 197 Bytes

Versions: 10

Compression:

Stored size: 197 Bytes

Contents

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.31.0 lib/shipit/rollback_commands.rb
shipit-engine-0.30.0 lib/shipit/rollback_commands.rb
shipit-engine-0.29.0 lib/shipit/rollback_commands.rb
shipit-engine-0.28.1 lib/shipit/rollback_commands.rb
shipit-engine-0.28.0 lib/shipit/rollback_commands.rb
shipit-engine-0.27.1 lib/shipit/rollback_commands.rb
shipit-engine-0.27.0 lib/shipit/rollback_commands.rb
shipit-engine-0.26.0 lib/shipit/rollback_commands.rb
shipit-engine-0.25.1 lib/shipit/rollback_commands.rb
shipit-engine-0.25.0 lib/shipit/rollback_commands.rb