From 4d85d9d0161620c462f9541ba7005b911fbb9566 Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Mon, 10 Aug 2015 05:15:58 -0700 Subject: Use docker-engine in setup_gate The fedora version of docker is hacked by Red Hat to have specific features which we don't want in the gating. Use the pristine upstream version from Docker Inc. Change-Id: Ied219bc3868176f541083e9d42cde7d6cdeeb71d Partially-Implements: blueprint gate-source-builds --- tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index c08f36888..797b24a4a 100644 --- a/tox.ini +++ b/tox.ini @@ -35,9 +35,12 @@ whitelist_externals = find bash sudo commands = + bash -c "if [ -f .buildconf ]; then mv .buildconf buildconf.bak; fi" + bash -c "echo PREFIX=centos-rdo- > .buildconf" find . -type f -name "*.pyc" -delete bash -c "if [ ! -d .testrepository ]; then testr init; fi" - sudo -g dockerroot testr run ^(test_images).* + sudo -g docker testr run ^(test_images).* + bash -c "if [ -f buildconf.bak ]; then mv buildconf.bak .buildconf; fi" [testenv:startenv] whitelist_externals = bash -- cgit v1.2.3