Skip to main content
mise-a-feu
===========

[![Build Status](https://travis-ci.org/ops-hero/mise-a-feu.png?branch=master)](https://travis-ci.org/ops-hero/mise-a-feu)

This library is used to deploy the stacks on the host server. This can be used either from the CLI (via Fabric or command) or from a Python code (by including the library).



USAGE
-----

Either via Fabric, once the working copy is checked out:

$ cd mise_a_feu
$ fab -l
$ ...
$ fab -H host1.example.com update_updater
$ ...
$ fab -H host1.example.com run_updater:1.2.3,buildhost,webcallback=http://host:8080/stacks/update
$ ...

After installing the package, a binary `mise-a-feu` is also available. It exposes directly the fabric file:

$ mise-a-feu -l
$ ...
$ mise-a-feu -c config_file deploy:stack_version
$ ...
$ mise-a-feu -c examples/example_config.yml deploy:0.0.1
$ ...


Or in another python application, after installing the package as well:

from mise_a_feu import StackUpdater

updater = StackUpdater(stack="1.2.3",
buildhost="buildhost",
manifest="/etc/manifest.data",
webcallback="http://host:8080/stacks/update",
force_update=True,
verbose=False)
for host in hosts_list:
with settings(host_string=host):
updater.run()

TODO
----
* asynchronous remote call to update_stack.py

Metadata

Release history Release notifications | RSS feed

This release

0.0.1 This release

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page