Sha256: 8bf02edcaee7cf519f3d5dc11bc6b001f3e285c33433dcf8c840ef9871efc3a7
Contents?: true
Size: 675 Bytes
Versions: 53
Compression:
Stored size: 675 Bytes
Contents
require 'travis/cli/setup' module Travis module CLI class Setup class OpsWorks < Service description "deployment to OpsWorks" def run deploy 'opsworks' do |config| config['access_key_id'] = ask("Access key ID: ").to_s config['secret_access_key'] = ask("Secret access key: ") { |q| q.echo = "*" }.to_s config['app-id'] = ask("App ID: ").to_s on("Migrate the database? ", config, 'migrate' => true) encrypt(config, 'secret_access_key') if agree("Encrypt secret access key? ") { |q| q.default = 'yes' } end end end end end end
Version data entries
53 entries across 53 versions & 1 rubygems