summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRadosław Piliszek <radoslaw.piliszek@gmail.com>2020-03-15 15:36:47 +0100
committerMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2020-04-03 15:59:20 +0200
commit2cdcf1821d95133a4992d36db514d981ff225e31 (patch)
tree742ab5f0cffd82b2aa53e3263b34bcac00d91f3d /tools
parentc089eab392de39ff01f9eba65ef4855a14e2076a (diff)
downloadkolla-2cdcf1821d95133a4992d36db514d981ff225e31.tar.gz
kolla-2cdcf1821d95133a4992d36db514d981ff225e31.zip
CI: Ansiblify setup of builders
CI is set up using Ansible playbooks now. This also drops redundant shell scripts. Co-authored-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Change-Id: I5264746fd04276448f4668c3bb3a218a40e8660b
Diffstat (limited to 'tools')
-rwxr-xr-xtools/setup_Debian.sh21
-rwxr-xr-xtools/setup_RedHat.sh20
2 files changed, 0 insertions, 41 deletions
diff --git a/tools/setup_Debian.sh b/tools/setup_Debian.sh
deleted file mode 100755
index 8be4dce32..000000000
--- a/tools/setup_Debian.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash
-
-set -o xtrace
-set -o errexit
-
-# (SamYaple)TODO: Remove the path overriding
-export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
-
-# Setup Docker repo and add signing key
-distro_id=$(lsb_release -is)
-distro_id=${distro_id,,}
-distro_codename=$(lsb_release -cs)
-
-sudo add-apt-repository "deb $DOCKER_REPOS_MIRROR_URL/${distro_id} ${distro_codename} stable"
-curl -fsSL $DOCKER_REPOS_MIRROR_URL/${distro_id}/gpg | sudo apt-key add -
-sudo apt-get update
-sudo apt-get -y install --no-install-recommends docker-ce
-
-sudo docker info
-
-echo "Completed $0."
diff --git a/tools/setup_RedHat.sh b/tools/setup_RedHat.sh
deleted file mode 100755
index 50cd81ff4..000000000
--- a/tools/setup_RedHat.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-
-set -o xtrace
-set -o errexit
-
-sudo tee /etc/yum.repos.d/docker-ce-stable.repo << EOF
-[docker-ce-stable]
-baseurl=$DOCKER_REPOS_MIRROR_URL/centos/7/\$basearch/stable
-enabled=1
-gpgcheck=1
-gpgkey=$DOCKER_REPOS_MIRROR_URL/centos/gpg
-module_hotfixes=True
-EOF
-
-sudo dnf -y install docker-ce
-
-sudo systemctl start docker
-sudo docker info
-
-echo "Completed $0."