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.1.travis.2669.5 lib/dpl/provider/script.rb
dpl-script-1.9.1.travis.2666.5 lib/dpl/provider/script.rb
dpl-script-1.9.1.travis.2660.5 lib/dpl/provider/script.rb
dpl-script-1.9.1.travis.2639.5 lib/dpl/provider/script.rb
dpl-script-1.9.1.travis.2637.5 lib/dpl/provider/script.rb
dpl-script-1.9.1.travis.2635.5 lib/dpl/provider/script.rb
dpl-script-1.9.1.travis.2633.5 lib/dpl/provider/script.rb
dpl-script-1.9.1.travis.2627.5 lib/dpl/provider/script.rb
dpl-script-1.9.1.travis.2623.5 lib/dpl/provider/script.rb
dpl-script-1.9.1.travis.2621.5 lib/dpl/provider/script.rb
dpl-script-1.9.1.travis.2619.5 lib/dpl/provider/script.rb
dpl-script-1.9.1.travis.2617.5 lib/dpl/provider/script.rb
dpl-script-1.9.1.travis.2615.5 lib/dpl/provider/script.rb
dpl-script-1.9.1.travis.2611.5 lib/dpl/provider/script.rb
dpl-script-1.9.1.travis.2608.5 lib/dpl/provider/script.rb
dpl-script-1.9.1.travis.2603.5 lib/dpl/provider/script.rb
dpl-script-1.9.1.travis.2592.5 lib/dpl/provider/script.rb
dpl-script-1.9.1.travis.2589.5 lib/dpl/provider/script.rb
dpl-1.8.48.travis.2486.5 lib/dpl/provider/script.rb
dpl-1.8.47 lib/dpl/provider/script.rb