Sha256: 4580b9e34c449a91395cba3d41fae4880e195633ef5ca7f6dd9cb964cb83aa50

Contents?: true

Size: 444 Bytes

Versions: 136

Compression:

Stored size: 444 Bytes

Contents

module DPL
  class Provider
    class Script < Provider

      experimental 'Script'

      def check_auth
      end

      def check_app
      end

      def needs_key?
        false
      end

      def push_app
        context.shell script
        if $?.exitstatus != 0
          raise Error, "Script #{script} failed with status #{$?.exitstatus}"
        end
      end

      def script
        options[:script]
      end
    end
  end
end

Version data entries

136 entries across 136 versions & 1 rubygems

Version Path
dpl-1.7.20.travis.954.4 lib/dpl/provider/script.rb
dpl-1.7.20.travis.952.4 lib/dpl/provider/script.rb
dpl-1.7.20.travis.951.4 lib/dpl/provider/script.rb
dpl-1.7.19 lib/dpl/provider/script.rb
dpl-1.7.20.travis.949.4 lib/dpl/provider/script.rb
dpl-1.7.19.travis.947.4 lib/dpl/provider/script.rb
dpl-1.7.19.travis.946.4 lib/dpl/provider/script.rb
dpl-1.7.19.travis.945.4 lib/dpl/provider/script.rb
dpl-1.7.19.travis.944.4 lib/dpl/provider/script.rb
dpl-1.7.19.travis.942.4 lib/dpl/provider/script.rb
dpl-1.7.19.travis.933.4 lib/dpl/provider/script.rb
dpl-1.7.19.travis.929.4 lib/dpl/provider/script.rb
dpl-1.7.19.travis.895.4 lib/dpl/provider/script.rb
dpl-1.7.18.travis.894.4 lib/dpl/provider/script.rb
dpl-1.7.18 lib/dpl/provider/script.rb
dpl-1.7.18.travis.890.4 lib/dpl/provider/script.rb
dpl-1.7.17 lib/dpl/provider/script.rb
dpl-1.7.17.travis.889.4 lib/dpl/provider/script.rb
dpl-1.7.17.travis.886.4 lib/dpl/provider/script.rb
dpl-1.7.17.travis.885.4 lib/dpl/provider/script.rb