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.9.4 lib/dpl/provider/script.rb
dpl-script-1.9.4.travis.2768.5 lib/dpl/provider/script.rb
dpl-script-1.9.4.travis.2766.5 lib/dpl/provider/script.rb
dpl-script-1.9.3 lib/dpl/provider/script.rb
dpl-script-1.9.2.travis.2764.5 lib/dpl/provider/script.rb
dpl-script-1.9.2 lib/dpl/provider/script.rb
dpl-script-1.9.2.travis.2763.5 lib/dpl/provider/script.rb
dpl-script-1.9.2.travis.2762.5 lib/dpl/provider/script.rb
dpl-script-1.9.2.travis.2750.5 lib/dpl/provider/script.rb
dpl-script-1.9.2.travis.2749.5 lib/dpl/provider/script.rb
dpl-script-1.9.2.travis.2748.5 lib/dpl/provider/script.rb
dpl-script-1.9.2.travis.2737.5 lib/dpl/provider/script.rb
dpl-script-1.9.2.travis.2725.5 lib/dpl/provider/script.rb
dpl-script-1.9.2.travis.2724.5 lib/dpl/provider/script.rb
dpl-script-1.9.1 lib/dpl/provider/script.rb
dpl-script-1.9.1.travis.2711.5 lib/dpl/provider/script.rb
dpl-script-1.9.1.travis.2710.5 lib/dpl/provider/script.rb
dpl-script-1.9.1.travis.2705.5 lib/dpl/provider/script.rb
dpl-script-1.9.0 lib/dpl/provider/script.rb
dpl-script-1.9.1.travis.2689.5 lib/dpl/provider/script.rb