Odyssey
Public Member Functions | Static Public Attributes | List of all members
cli.stack.MigrationCommand Class Reference
Inheritance diagram for cli.stack.MigrationCommand:
cli.stack.MaintCommand cli.s3.S3BucketMixin cli.base.HostingCommand

Public Member Functions

def setup_args (self, parser)
 
def confirm_action (self, message)
 
def run (self, args)
 
- Public Member Functions inherited from cli.stack.MaintCommand
def prerun (self, args)
 
def task_env_to_dict (self, task_env)
 
def dict_to_task_env (self, env)
 
def get_task_definition (self, ident)
 
def restart_app_service (self)
 
def adj_sched_service_count (self, count)
 
def taskdef_env_override (self, taskdef, key, value=None)
 
- Public Member Functions inherited from cli.s3.S3BucketMixin
def prerun (self, *args, **kwargs)
 
def get_stack (self, name)
 
- Public Member Functions inherited from cli.base.HostingCommand
def add_stack_argument (self, *args, env=DEFAULT_STACK_ENV, help=None, metavar='STACK_NAME', **kwargs)
 
def check_requirements (self, stack)
 

Static Public Attributes

string name = 'migrate'
 
string min_version = '0.8.0'
 
- Static Public Attributes inherited from cli.stack.MaintCommand
dictionary allowed_states = {'ready', 'active', 'partial_deploy'}
 
- Static Public Attributes inherited from cli.s3.S3BucketMixin
string stacks_bucket = 'homecu.odyssey.stacks'
 
- Static Public Attributes inherited from cli.base.HostingCommand
 allowed_states = set()
 
string min_version = "0"
 
 max_version = VERSION
 

Additional Inherited Members

- Public Attributes inherited from cli.stack.MaintCommand
 ecs
 
 stack
 
- Public Attributes inherited from cli.s3.S3BucketMixin
 stacks
 

Detailed Description

Migrate stack versions

Usage: hosting stack migrate {stack-name} --to {target-version}

All parameters are required.

Backwards migration isn't necessarily supported, however, it's not
expressly prohibited either.  Such a migration would simply be a
reversed expression.

Definition at line 392 of file stack.py.


The documentation for this class was generated from the following file: