a60c212123
When installing the tempest plugin we need to ensure that this is the last thing that gets done in the plugin, otherwise it might collide with container build. Change-Id: Ib16dbbee265c8536806926f62c2e906108ffa88c
20 lines
549 B
Bash
20 lines
549 B
Bash
# install tempest plugin
|
|
function build_test_container {
|
|
pushd "${DEST}/kuryr-tempest-plugin/test_container"
|
|
|
|
docker build -t kuryr/demo . -f Dockerfile
|
|
popd
|
|
}
|
|
|
|
function install_kuryr_tempest_plugin {
|
|
setup_dev_lib "kuryr-tempest-plugin"
|
|
}
|
|
|
|
if [[ "$1" == "stack" && "$2" == "install" ]]; then
|
|
echo_summary "Building kuryr/demo test container"
|
|
build_test_container
|
|
elif [[ "$1" == "stack" && "$2" == "test-config" ]]; then
|
|
echo_summary "Installing Kuryr Tempest Plugin"
|
|
install_kuryr_tempest_plugin
|
|
fi
|