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.17.travis.884.4 lib/dpl/provider/script.rb
dpl-1.7.17.travis.882.4 lib/dpl/provider/script.rb
dpl-1.7.17.travis.869.4 lib/dpl/provider/script.rb
dpl-1.7.17.travis.868.4 lib/dpl/provider/script.rb
dpl-1.7.17.travis.866.4 lib/dpl/provider/script.rb
dpl-1.7.16.travis.865.4 lib/dpl/provider/script.rb
dpl-1.7.16 lib/dpl/provider/script.rb
dpl-1.7.16.travis.862.4 lib/dpl/provider/script.rb
dpl-1.7.15 lib/dpl/provider/script.rb
dpl-1.7.15.travis.861.4 lib/dpl/provider/script.rb
dpl-1.7.15.travis.859.4 lib/dpl/provider/script.rb
dpl-1.7.15.travis.858.4 lib/dpl/provider/script.rb
dpl-1.7.15.travis.857.4 lib/dpl/provider/script.rb
dpl-1.7.15.travis.856.4 lib/dpl/provider/script.rb
dpl-1.7.14 lib/dpl/provider/script.rb
dpl-1.7.14.travis.855.4 lib/dpl/provider/script.rb