Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Clean up eycloud app name

  • Loading branch information...
commit d07432b88f91f4bc37de65a915623540dc8d37b6 1 parent 3158ba5
@drnic authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  scrolls/eycloud.rb
View
2  scrolls/eycloud.rb
@@ -35,6 +35,7 @@
# TODO check for app name first
app_name = (@repo_name && @repo_name.size > 0) ? @repo_name : @name
+ app_name.gsub!(/\W/, '') # only letters and numbers
# say_custom "eycloud", "Checking for availability of #{app_name}"
# @app_names ||= `bundle exec ey_cli apps | grep "-" | sed "s/.* //"`.split(/\n/)
# while @app_names.include?(app_name)
@@ -51,6 +52,7 @@
]
else
say_custom "eycloud", "Defaulting to single/solo High-CPU medium instance for staging environment"
+ cluster_config = "solo"
end
name = File.basename(".")
Please sign in to comment.
Something went wrong with that request. Please try again.