Ansible based installer framework.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs/proposals
ftl_installer
tests
.gitignore
.travis.yml
LICENSE
Makefile
README.md
VERSION
Vagrantfile
requirements.txt
setup.cfg
setup.py.in
test-requirements.txt

README.md

Build Status
Coverage Status
Code Issues
Code Climate
Stories in Ready

ftl_installer

Ansible based installer framework.

Hacking

Creating a virtual environment

Run make venv to create a python virtual environment and install dependencies within your local checkout.

make venv

The python virtual environment created by make venv will use the default system python. Providing the FTL_PYTHON environment variable will override the python version used to create the virtual environment.

FTL_PYTHON=/usr/bin/python3.4 make venv

Activate the virtual env

  • For python2.7 environment:
. venv2.7/bin/activate
  • For python3.4 environment:
. venv3.4/bin/activate

Running the cli

Once a virtual environment has been created, ftl_installer will be in PATH.

ftl_installer --help

Running tests

Run make test to run unit tests, pep8 style formatting checks and pyflakes checks.

make test

make test does not operate within the virtual environment and runs tests against local source using the default system python. Set the FTL_PYTHON environment variable to override the python version used to run tests.

FTL_PYTHON=/usr/bin/python3.4 make test

Running CI tests

Run make ci to create a virtual environment and run tests within the virtual environment.

make ci

Set the FTL_PYTHON environment variable to override the python version used to run CI tests.

FTL_PYTHON=/usr/bin/python3.4 make ci