#!/bin/bash set -o xtrace set -o errexit # Enable unbuffered output for Ansible in Jenkins. export PYTHONUNBUFFERED=1 function deploy_bifrost { RAW_INVENTORY=/etc/kolla/inventory source $KOLLA_ANSIBLE_VENV_PATH/bin/activate # TODO(mgoddard): run prechecks. # Deploy the bifrost container. # TODO(mgoddard): add pull action when we have a local registry service in # CI. kolla-ansible deploy-bifrost -i ${RAW_INVENTORY} -vvv &> /tmp/logs/ansible/deploy-bifrost } deploy_bifrost