b23ec9f8d9
This commit adds playbooks and roles to the ops tooling setup to build, deploy, and operate environments with skydive within in it. Skydive is a network analyzer which will allow users to explore their topology in real-time using a defined storage back-end for captures, alerts, and more. The initial implementation of skydive deploys agents throughout the environment and wires them all back to a cluster of analyzers which leverage elasticsearch for its persistent storage back-end. Storage back-ends are load balanced from the within the analyzer nodes using the traefik light-weight reverse proxy. This setup gives skydive a fully fault tolerant deployment. Tests have been added to ensure the binary installation process is validated. While these jobs are non-voting today, they'll be iterated on and made passing in the subsequent PRs. All jobs are following the selective pattern which allows these tools to be gated in the mono-repo without impacting all other tools within the environment. Change-Id: Iaa1152566f2b615d67a33dc94ebdbebb1b492a9d Signed-off-by: Kevin Carter <kevin@cloudnull.com>
17 lines
846 B
Plaintext
17 lines
846 B
Plaintext
export ANSIBLE_HOST_KEY_CHECKING="False"
|
|
export ANSIBLE_ROLES_PATH="${HOME}/ansible_venv/repositories/roles"
|
|
export ANSIBLE_ACTION_PLUGINS="${HOME}/ansible_venv/repositories/roles/config_template/action"
|
|
export ANSIBLE_CONNECTION_PLUGINS="${HOME}/ansible_venv/repositories/roles/plugins/connection"
|
|
export ANSIBLE_LOG_PATH="/tmp/skydive-logs/ansible-skydive-test.log"
|
|
|
|
if [[ ! -d "/tmp/skydive-logs" ]]; then
|
|
mkdir -pv "/tmp/skydive-logs"
|
|
chmod 0777 "/tmp/skydive-logs"
|
|
fi
|
|
|
|
echo "To build a test environment run the following:"
|
|
echo -e "# ${HOME}/ansible_venv/bin/ansible-playbook -i tests/inventory/test-container-inventory.yml tests/test.yml --limit localhost\n"
|
|
|
|
echo "Run manual functional tests by executing the following:"
|
|
echo -e "# ${HOME}/ansible_venv/bin/ansible-playbook -i tests/inventory/test-container-inventory.yml site.yml\n"
|