Skip to main content

Deployment related Fabric utilities

Project description

WARNING - This is pre-alpha software and subject to changes and/or bugs.

Tunic is a library built on Fabric for performing common tasks related to deploying a code base on multiple remote servers.

It’s designed so that you can make use of as much or as little of its functionality as you’d like, the choice is yours.

It only requires the Fabric library as a dependency and can be installed from the Python Package Index (PyPI) using the pip tool like so.

pip install tunic

You could then make use of it in your deploy process like so.

from fabric.api import task
from tunic.api import get_release_id, ReleaseManager

@task
def deploy():
    stop_my_app()
    release = get_release_id()
    install_my_app(release)
    rm = ReleaseManager('/srv/www/mysite')
    rm.set_current_release(release)
    start_my_app()

The above snippet is just the start, take a look around the code base for more methods that can save you work in your deploy process.

The latest documentation is available at http://tunic.readthedocs.org/en/latest/

The source is available at https://github.com/tshlabs/tunic

The change log is available at http://tunic.readthedocs.org/en/latest/changes.html

Enjoy!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tunic-0.3.0.tar.gz (8.9 kB view details)

Uploaded Source

File details

Details for the file tunic-0.3.0.tar.gz.

File metadata

  • Download URL: tunic-0.3.0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tunic-0.3.0.tar.gz
Algorithm Hash digest
SHA256 0fd44095ba2e1b8f904b2b8241f5dc3d5c8b66b7057c9583619fa3b4784b02b3
MD5 132411055137b05b2b215c14ee1db36a
BLAKE2b-256 f66c510b0439378f396c50297720e3a547d0f4b107eb3ed72daf62159b08c137

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page