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.7 lib/dpl/provider/script.rb
dpl-script-1.9.8.travis.2863.6 lib/dpl/provider/script.rb
dpl-script-1.9.7.travis.2857.6 lib/dpl/provider/script.rb
dpl-script-1.9.7.travis.2853.6 lib/dpl/provider/script.rb
dpl-script-1.9.7.travis.2851.6 lib/dpl/provider/script.rb
dpl-script-1.9.6.travis.2848.6 lib/dpl/provider/script.rb
dpl-script-1.9.6 lib/dpl/provider/script.rb
dpl-script-1.9.6.travis.2837.6 lib/dpl/provider/script.rb
dpl-script-1.9.6.travis.2827.6 lib/dpl/provider/script.rb
dpl-script-1.9.6.travis.2795.5 lib/dpl/provider/script.rb
dpl-script-1.9.6.travis.2794.5 lib/dpl/provider/script.rb
dpl-script-1.9.6.travis.2790.5 lib/dpl/provider/script.rb
dpl-script-1.9.6.travis.2786.5 lib/dpl/provider/script.rb
dpl-script-1.9.6.travis.2785.5 lib/dpl/provider/script.rb
dpl-script-1.9.5.travis.2783.5 lib/dpl/provider/script.rb
dpl-script-1.9.5 lib/dpl/provider/script.rb
dpl-script-1.9.5.travis.2781.5 lib/dpl/provider/script.rb
dpl-script-1.9.5.travis.2782.5 lib/dpl/provider/script.rb
dpl-script-1.9.5.travis.2775.5 lib/dpl/provider/script.rb
dpl-script-1.9.4.travis.2773.5 lib/dpl/provider/script.rb