Class: Ciborg::ConfigurationWizard
- Inherits:
-
Thor
- Object
- Thor
- Ciborg::ConfigurationWizard
- Includes:
- Actions
- Defined in:
- lib/ciborg/configuration_wizard.rb
Constant Summary collapse
- DESCRIPTION_TEXT =
"Sets up ciborg through a series of questions"
Instance Method Summary collapse
Instance Method Details
#setup ⇒ Object
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/ciborg/configuration_wizard.rb', line 12 def setup return unless yes?("It looks like you're trying to set up a CI Box. Can I help? (Yes/No)") prompt_for_build prompt_for_github_key prompt_for_ssh_key prompt_for_aws prompt_for_security_group prompt_for_basic_auth config.save say config.reload.display if user_wants_to_create_instance? create_instance provision_server end end |