From 8e1b0f817a531a678884a90fbd56cc36b42bbbbd Mon Sep 17 00:00:00 2001 From: Sam Yaple Date: Fri, 14 Aug 2015 19:39:16 -0700 Subject: 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 Change-Id: I23b9dee409b9e678422cd58525e1836541eb64da Partially-Implements: blueprint gate-source-builds --- tests/setup_ubuntu.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 tests/setup_ubuntu.sh (limited to 'tests/setup_ubuntu.sh') 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." -- cgit v1.2.3