remove unused scripts
This commit is contained in:
parent
7237785972
commit
9b9e48944b
|
@ -1,14 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# First get the OS-specific packages
|
||||
GOOS=windows go get "${DEP_ARGS}" github.com/StackExchange/wmi
|
||||
GOOS=windows go get "${DEP_ARGS}" github.com/shirou/w32
|
||||
GOOS=linux go get "${DEP_ARGS}" github.com/docker/docker/pkg/mount
|
||||
GOOS=linux go get "${DEP_ARGS}" github.com/opencontainers/runc/libcontainer/cgroups/fs
|
||||
GOOS=linux go get "${DEP_ARGS}" github.com/opencontainers/runc/libcontainer/configs
|
||||
GOOS=linux go get "${DEP_ARGS}" github.com/coreos/go-systemd/util
|
||||
GOOS=linux go get "${DEP_ARGS}" github.com/coreos/go-systemd/dbus
|
||||
|
||||
# Get the rest of the deps
|
||||
DEPS=$(go list -f '{{range .TestImports}}{{.}} {{end}}' ./...)
|
||||
go get "${DEP_ARGS}" ./... "${DEPS}"
|
|
@ -1,10 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
echo "Exit code: $(cat exit-code)" >> test.log;
|
||||
grep -A10 'panic: test timed out' test.log || true;
|
||||
grep -A1 -- '--- SKIP:' test.log || true;
|
||||
grep -A1 -- '--- FAIL:' test.log || true;
|
||||
grep '^FAIL' test.log || true;
|
||||
exit_code=$(cat exit-code)
|
||||
echo "$exit_code "
|
||||
if [ "${exit_code}" == "0" ]; then echo "PASS" ; exit 0 ; else echo "TESTS FAILED"; exit 1 ; fi
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -o errexit
|
||||
|
||||
VERSION="1.6.0"
|
||||
OS="linux"
|
||||
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||
OS="darwin"
|
||||
fi
|
||||
DOWNLOAD=https://releases.hashicorp.com/consul/${VERSION}/consul_${VERSION}_${OS}_amd64.zip
|
||||
|
||||
function install_consul() {
|
||||
if [[ -e /usr/bin/consul ]] ; then
|
||||
if [ "v${VERSION}" == "$(consul version | head -n1 | awk '{print $2}')" ] ; then
|
||||
return
|
||||
fi
|
||||
fi
|
||||
|
||||
curl -sSL --fail -o /tmp/consul.zip ${DOWNLOAD}
|
||||
|
||||
unzip -d /tmp /tmp/consul.zip
|
||||
mv /tmp/consul /usr/local/bin/consul
|
||||
chmod +x /usr/local/bin/consul
|
||||
}
|
||||
|
||||
install_consul
|
|
@ -1,26 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -o errexit
|
||||
|
||||
VERSION=0.10.2
|
||||
OS="linux"
|
||||
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||
OS="darwin"
|
||||
fi
|
||||
DOWNLOAD=https://releases.hashicorp.com/vault/${VERSION}/vault_${VERSION}_${OS}_amd64.zip
|
||||
|
||||
function install_vault() {
|
||||
if [[ -e /usr/bin/vault ]] ; then
|
||||
if [ "v${VERSION}" = "$(vault version | head -n1 | awk '{print $2}')" ] ; then
|
||||
return
|
||||
fi
|
||||
fi
|
||||
|
||||
curl -sSL --fail -o /tmp/vault.zip ${DOWNLOAD}
|
||||
|
||||
unzip -d /tmp /tmp/vault.zip
|
||||
mv /tmp/vault /usr/local/bin/vault
|
||||
chmod +x /usr/local/bin/vault
|
||||
}
|
||||
|
||||
install_vault
|
|
@ -1,15 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
|
||||
DOCKER_VERSION="1.10.3"
|
||||
|
||||
sudo stop docker
|
||||
sudo rm -rf /var/lib/docker
|
||||
sudo rm -f "$(command -v docker)"
|
||||
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
|
||||
echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" | sudo tee /etc/apt/sources.list.d/docker.list
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y --force-yes -o Dpkg::Options::="--force-confnew" docker-engine="$DOCKER_VERSION-0~$(lsb_release -cs)"
|
||||
|
||||
docker version
|
Loading…
Reference in a new issue