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.13.travis.1528.4 lib/dpl/provider/script.rb
dpl-1.8.15.travis.1386.4 lib/dpl/provider/script.rb
dpl-1.8.15.travis.1385.4 lib/dpl/provider/script.rb
dpl-1.8.15.travis.1379.4 lib/dpl/provider/script.rb
dpl-1.8.15.travis.1378.4 lib/dpl/provider/script.rb
dpl-1.8.15.travis.1375.4 lib/dpl/provider/script.rb
dpl-1.8.15.travis.1374.4 lib/dpl/provider/script.rb
dpl-1.8.15.travis.1358.4 lib/dpl/provider/script.rb
dpl-1.8.15.travis.1349.4 lib/dpl/provider/script.rb
dpl-1.8.15.travis.1336.4 lib/dpl/provider/script.rb
dpl-1.8.15.travis.1329.4 lib/dpl/provider/script.rb
dpl-1.8.15.travis.1317.4 lib/dpl/provider/script.rb
dpl-1.8.14 lib/dpl/provider/script.rb
dpl-1.8.14.travis.1316.4 lib/dpl/provider/script.rb
dpl-1.8.14.travis.1314.4 lib/dpl/provider/script.rb
dpl-1.8.13 lib/dpl/provider/script.rb
dpl-1.8.13.travis.1313.4 lib/dpl/provider/script.rb
dpl-1.8.13.travis.1311.4 lib/dpl/provider/script.rb
dpl-1.8.13.travis.1306.4 lib/dpl/provider/script.rb
dpl-1.8.13.travis.1301.4 lib/dpl/provider/script.rb