Sha256: 4c6b0bbd527bde93631bc5ac5d36e739d2d0cd66b7c31d0351c5d724fc6139e6

Contents?: true

Size: 625 Bytes

Versions: 6

Compression:

Stored size: 625 Bytes

Contents

# frozen_string_literal: true

require 'travis/cli/setup'

module Travis
  module CLI
    class Setup
      class OpenShift < Service
        description 'automatic deployment to OpenShfit'

        def run
          deploy 'openshift' do |config|
            config['user']     = ask('OpenShift user: ').to_s
            config['password'] = ask('OpenShift password: ') { |q| q.echo = '*' }.to_s
            config['app']      = ask('OpenShift application name: ') { |q| q.default = repository.name }.to_s
            config['domain']   = ask('OpenShift domain: ').to_s
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
travis-1.14.0 lib/travis/cli/setup/open_shift.rb
travis-1.13.3 lib/travis/cli/setup/open_shift.rb
travis-1.13.2 lib/travis/cli/setup/open_shift.rb
travis-1.13.1 lib/travis/cli/setup/open_shift.rb
travis-1.13.0 lib/travis/cli/setup/open_shift.rb
travis-1.12.0 lib/travis/cli/setup/open_shift.rb