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.0 lib/dpl/provider/script.rb
dpl-1.7.23.travis.1061.4 lib/dpl/provider/script.rb
dpl-1.7.23.travis.1059.4 lib/dpl/provider/script.rb
dpl-1.7.22 lib/dpl/provider/script.rb
dpl-1.7.22.travis.1058.4 lib/dpl/provider/script.rb
dpl-1.7.22.travis.1057.4 lib/dpl/provider/script.rb
dpl-1.7.22.travis.1056.4 lib/dpl/provider/script.rb
dpl-1.7.22.travis.1047.4 lib/dpl/provider/script.rb
dpl-1.7.22.travis.1035.4 lib/dpl/provider/script.rb
dpl-1.7.22.travis.981.4 lib/dpl/provider/script.rb
dpl-1.7.21.travis.980.4 lib/dpl/provider/script.rb
dpl-1.7.21 lib/dpl/provider/script.rb
dpl-1.7.21.travis.979.4 lib/dpl/provider/script.rb
dpl-1.7.21.travis.978.4 lib/dpl/provider/script.rb
dpl-1.7.21.travis.970.4 lib/dpl/provider/script.rb
dpl-1.7.21.travis.960.4 lib/dpl/provider/script.rb
dpl-1.7.21.travis.959.4 lib/dpl/provider/script.rb
dpl-1.7.21.travis.958.4 lib/dpl/provider/script.rb
dpl-1.7.20 lib/dpl/provider/script.rb
dpl-1.7.20.travis.956.4 lib/dpl/provider/script.rb