From 2989672aad7ba5c1a19601d7b2eb43ce401ba1d2 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Tue, 2 May 2017 12:47:49 -0400 Subject: [PATCH] Add bubblewrap to bindep / test-setup.sh Bubblewrap is a setuid wrapper for unprivileged chroot and namespace manipulation. We'll be using this to run ansible-playbook from. Change-Id: I7c6414281724d066812094d02a726df357978076 Signed-off-by: Paul Belanger --- bindep.txt | 1 + tools/test-setup.sh | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/bindep.txt b/bindep.txt index 6895444827..5db144b27a 100644 --- a/bindep.txt +++ b/bindep.txt @@ -14,3 +14,4 @@ libffi-dev [platform:dpkg] libffi-devel [platform:rpm] python-dev [platform:dpkg] python-devel [platform:rpm] +bubblewrap [platform:rpm] diff --git a/tools/test-setup.sh b/tools/test-setup.sh index 3bdedf5a51..d3697c9b41 100755 --- a/tools/test-setup.sh +++ b/tools/test-setup.sh @@ -35,3 +35,9 @@ mysql -u $DB_USER -p$DB_PW -h 127.0.0.1 -e " SET default_storage_engine=MYISAM; DROP DATABASE IF EXISTS openstack_citest; CREATE DATABASE openstack_citest CHARACTER SET utf8;" + +# TODO(pabelanger): Move this into bindep after we figure out how to enable our +# PPA. +sudo add-apt-repository ppa:openstack-ci-core/bubblewrap +sudo apt-get update +sudo apt-get --assume-yes install bubblewrap