aboutsummaryrefslogtreecommitdiff
path: root/tests/setup_ubuntu.sh
diff options
context:
space:
mode:
authorSam Yaple <sam@yaple,net>2015-08-14 19:39:16 -0700
committerSam Yaple <sam@yaple.net>2015-08-26 14:17:26 +0000
commit8e1b0f817a531a678884a90fbd56cc36b42bbbbd (patch)
treec1910f857b5eee9ad5448dd6102b30605b420733 /tests/setup_ubuntu.sh
parenteb05118a3ffd4e0e9fc622a82aa07eb27e7fd723 (diff)
downloadkolla-8e1b0f817a531a678884a90fbd56cc36b42bbbbd.tar.gz
kolla-8e1b0f817a531a678884a90fbd56cc36b42bbbbd.zip
Setup the gate for cross-distro support
Split the gate into two specific scripts to support multiple distros Add ubuntu script. Co-Authored-By: Steven Dake <stdake@cisco.com> Change-Id: I23b9dee409b9e678422cd58525e1836541eb64da Partially-Implements: blueprint gate-source-builds
Diffstat (limited to 'tests/setup_ubuntu.sh')
-rwxr-xr-xtests/setup_ubuntu.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/setup_ubuntu.sh b/tests/setup_ubuntu.sh
new file mode 100755
index 000000000..1e82cfec1
--- /dev/null
+++ b/tests/setup_ubuntu.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+set -o xtrace
+set -o errexit
+
+# Setup Docker repo and add signing key
+echo 'deb http://apt.dockerproject.org/repo ubuntu-trusty main' | sudo tee /etc/apt/sources.list.d/docker.list
+sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
+sudo apt-get update
+sudo apt-get install -y --no-install-recommends docker-engine btrfs-progs
+
+# We break the gate initially since it will not function until i can test against the ubuntu gate
+exit 1
+
+echo "Completed $0."