Sha256: c9ebea37554fdb9bd8dc4a7e87bcb69d0c8a6ed95252b3aab2c1350f1bd416af

Contents?: true

Size: 703 Bytes

Versions: 385

Compression:

Stored size: 703 Bytes

Contents

require 'travis/cli/setup'

module Travis
  module CLI
    class Setup
      class CloudControl < Service
        description "automatic deployment to cloudControl"

        def run
          deploy 'cloudcontrol' do |config|
            config['email']      = ask("cloudControl email: ").to_s
            config['password']   = ask("cloudControl password: ") { |q| q.echo = "*" }.to_s
            app                  = ask("cloudControl application: ") { |q| q.default = repository.name }.to_s
            dep                  = ask("cloudControl deployment: ") { |q| q.default = "default" }.to_s
            config['deployment'] = "#{app}/#{dep}"
          end
        end
      end
    end
  end
end

Version data entries

385 entries across 385 versions & 3 rubygems

Version Path
travis-1.5.6.travis.337.4 lib/travis/cli/setup/cloud_control.rb
travis-1.5.6.travis.336.4 lib/travis/cli/setup/cloud_control.rb
travis-1.5.6.travis.333.4 lib/travis/cli/setup/cloud_control.rb
travis-1.5.6.travis.332.4 lib/travis/cli/setup/cloud_control.rb
travis-1.5.6.travis.330.4 lib/travis/cli/setup/cloud_control.rb
travis-1.5.6.travis.329.4 lib/travis/cli/setup/cloud_control.rb
travis-1.5.6.travis.326.4 lib/travis/cli/setup/cloud_control.rb
travis-1.5.6.travis.324.4 lib/travis/cli/setup/cloud_control.rb
travis-1.5.6.travis.323.4 lib/travis/cli/setup/cloud_control.rb
travis-1.5.6.travis.320.4 lib/travis/cli/setup/cloud_control.rb
travis-1.5.6.travis.319.4 lib/travis/cli/setup/cloud_control.rb
travis-1.5.6.travis.317.4 lib/travis/cli/setup/cloud_control.rb
travis-1.5.6.travis.315.4 lib/travis/cli/setup/cloud_control.rb
travis-1.5.6.travis.314.4 lib/travis/cli/setup/cloud_control.rb
travis-1.5.6.travis.312.4 lib/travis/cli/setup/cloud_control.rb
travis-1.5.6.travis.307.4 lib/travis/cli/setup/cloud_control.rb
travis-1.5.6.travis.306.4 lib/travis/cli/setup/cloud_control.rb
travis-1.5.6.travis.304.4 lib/travis/cli/setup/cloud_control.rb
travis-1.5.6.travis.303.4 lib/travis/cli/setup/cloud_control.rb
travis-1.5.6.travis.301.4 lib/travis/cli/setup/cloud_control.rb