Sha256: 121b8605a2285e47bcfd6ceda6af418ad15deb6496325a1c732dbc43ab2cd5ea

Contents?: true

Size: 434 Bytes

Versions: 252

Compression:

Stored size: 434 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 failed with status #{$?.exitstatus}"
        end
      end

      def script
        options[:script]
      end
    end
  end
end

Version data entries

252 entries across 252 versions & 3 rubygems

Version Path
dpl-script-1.10.3.travis.3020.6 lib/dpl/provider/script.rb
dpl-script-1.10.3.travis.3017.6 lib/dpl/provider/script.rb
dpl-script-1.10.3.travis.3014.6 lib/dpl/provider/script.rb
dpl-script-1.10.2 lib/dpl/provider/script.rb
dpl-script-1.10.3.travis.3002.6 lib/dpl/provider/script.rb
dpl-script-1.10.2.travis.2993.6 lib/dpl/provider/script.rb
dpl-script-1.10.2.travis.2992.6 lib/dpl/provider/script.rb
dpl-script-1.10.2.travis.2987.6 lib/dpl/provider/script.rb
dpl-script-1.10.2.travis.2979.6 lib/dpl/provider/script.rb
dpl-script-1.10.2.travis.2976.6 lib/dpl/provider/script.rb
dpl-script-1.10.1 lib/dpl/provider/script.rb
dpl-script-1.10.2.travis.2966.6 lib/dpl/provider/script.rb
dpl-script-1.10.1.travis.2957.6 lib/dpl/provider/script.rb
dpl-script-1.10.1.travis.2956.6 lib/dpl/provider/script.rb
dpl-script-1.10.1.travis.2947.6 lib/dpl/provider/script.rb
dpl-script-1.10.0 lib/dpl/provider/script.rb
dpl-script-1.10.1.travis.2932.6 lib/dpl/provider/script.rb
dpl-script-1.9.8 lib/dpl/provider/script.rb
dpl-script-1.9.9.travis.2894.6 lib/dpl/provider/script.rb
dpl-script-1.9.8.travis.2891.6 lib/dpl/provider/script.rb