deploy Package

deploy Package

fabric_colors.deploy.deploy[source]

Usage: fab -R all deploy or fab -H mysite.com deploy`. Execute a deployment to the given groups of hosts or host

fabric_colors.deploy.pip_package_preinstall(*args, **kwargs)[source]

Preinstall packages listed in package_exceptions if they are found in requirements.txt! Packages listed in package_exceptions need to have their setup.py executed beforehand.

fabric_colors.deploy.pip_requirements[source]

Usage: fab -R all deploy.pip_requirements. Install the required python packages from the requirements.txt file using pip

fabric_colors.deploy.prepare_deploy_env(target)[source]

Make sure that we have the release directories before executing deployment.

fabric_colors.deploy.test_host_check[source]

Usage: fab -R all deploy.test_host_check or fab -H mysite.com deploy.test_host_check

git Module

fabric_colors.deploy.git.git_archive_and_upload_tar[source]

Create an archive from the current git branch and upload it to target machine.

fabric_colors.deploy.git.git_branch_check[source]

Usage: fab -R all deploy.git_branch_check. Check that we are on master branch before permitting deploy

releases Module

fabric_colors.deploy.releases.cleanup[source]

Usage: fab -R all releases.cleanup. Ensure that target node only has n most recent deployed directories, where n by default is 10 but can be overridden by that node’s settings in fabsettings.

fabric_colors.deploy.releases.manage_release(description='', disable_newrelic=False)[source]

Helper function to annotate env.release and env.release_notes; and optionally update env.newrelic and register event on newrelic.

fabric_colors.deploy.releases.showlist[source]

Usage: fab -R all releases.showlist. Returns a list of deploy directories.

Usage: fab -R all releases.symlink_check. Check the hash pointing to the current symlink.

Usage: fab -R all releases.symlink_current. Symlink our current release.

Table Of Contents

Previous topic

db Package

Next topic

distro Package

This Page