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.8.7.travis.1143.4 lib/dpl/provider/script.rb
dpl-1.8.7.travis.1125.4 lib/dpl/provider/script.rb
dpl-1.8.6.travis.1124.4 lib/dpl/provider/script.rb
dpl-1.8.6 lib/dpl/provider/script.rb
dpl-1.8.6.travis.1116.4 lib/dpl/provider/script.rb
dpl-1.8.5 lib/dpl/provider/script.rb
dpl-1.8.5.travis.1114.4 lib/dpl/provider/script.rb
dpl-1.8.5.travis.1113.4 lib/dpl/provider/script.rb
dpl-1.8.5.travis.1112.4 lib/dpl/provider/script.rb
dpl-1.8.5.travis.1104.4 lib/dpl/provider/script.rb
dpl-1.8.5.travis.1101.4 lib/dpl/provider/script.rb
dpl-1.8.5.travis.1097.4 lib/dpl/provider/script.rb
dpl-1.8.4 lib/dpl/provider/script.rb
dpl-1.8.3.travis.1078.4 lib/dpl/provider/script.rb
dpl-1.8.2 lib/dpl/provider/script.rb
dpl-1.8.2.travis.1075.4 lib/dpl/provider/script.rb
dpl-1.8.2.travis.1071.4 lib/dpl/provider/script.rb
dpl-1.8.1 lib/dpl/provider/script.rb
dpl-1.8.1.travis.1070.4 lib/dpl/provider/script.rb
dpl-1.8.1.travis.1063.4 lib/dpl/provider/script.rb