Example #1
0
def staging(version=None):
    """Sets the deployment target to staging, with an optional non-default
    version.
    """
    version = 'staging' if version is None else 'staging-' + version
    return utils.deployment_target(version=version)
Example #2
0
def production(version=None):
    """Sets the deployment target to production, with an optional non-default
    version.
    """
    return utils.deployment_target(version=version)
Example #3
0
def staging(version=None):
    """Sets the deployment target to staging, with an optional non-default
    version."""
    version = 'staging' + ('-%s' % version if version else '')
    return utils.deployment_target(version=version)
Example #4
0
def production(version=None):
    """Sets the deployment target to production, with an optional non-default
    version."""
    return utils.deployment_target(version=version)
Example #5
0
def staging(version=None):
    """Sets the deployment target to staging, with an optional non-default
	version."""
    env.gae.application = "%s-staging" % env.gae.application
    return utils.deployment_target(version=version)