aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/setup_gate.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/setup_gate.sh b/tools/setup_gate.sh
index aa74a9e62..949aad4db 100755
--- a/tools/setup_gate.sh
+++ b/tools/setup_gate.sh
@@ -8,6 +8,14 @@ if [[ ! -f /etc/sudoers.d/jenkins ]]; then
echo "jenkins ALL=(:docker) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/jenkins
fi
+# TODO(SamYaple): Remove this after https://review.openstack.org/#/c/294871/
+# NOTE(SamYaple): Temporarily fix RAX gate suffering from glean config issue
+if [[ $(hostname) =~ "rax-ord" ]]; then
+ ifdown eth1
+ sleep 1
+ ifup eth1
+fi
+
function setup_config {
# generate the config
tox -e genconfig