Exemple #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)
Exemple #2
0
def production(version=None):
    """Sets the deployment target to production, with an optional non-default
    version.
    """
    return utils.deployment_target(version=version)
Exemple #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)
Exemple #4
0
def production(version=None):
    """Sets the deployment target to production, with an optional non-default
    version."""
    return utils.deployment_target(version=version)
Exemple #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)