Remove dynamic stackname
This commit is contained in:
Vendored
+1
-5
@@ -1,19 +1,15 @@
|
||||
from fabric.api import env, lcd, local, abort
|
||||
|
||||
def basic_environment_settings():
|
||||
env.stack_name = 'api'
|
||||
|
||||
def staging():
|
||||
basic_environment_settings()
|
||||
env.environment = 'staging'
|
||||
|
||||
def production():
|
||||
basic_environment_settings()
|
||||
env.environment = 'production'
|
||||
|
||||
def cloudformation_update():
|
||||
with lcd('./cloudformation/'):
|
||||
local('make update-stack ENVIRONMENT_NAME={0} STACK_NAME={1}'.format(env.environment, env.stack_name))
|
||||
local('make update-stack ENVIRONMENT_NAME={0}'.format(env.environment))
|
||||
|
||||
def deploy():
|
||||
if env.environment != 'staging':
|
||||
|
||||
Reference in New Issue
Block a user