diff options
| author | Sam Yaple <sam@yaple.net> | 2015-11-07 15:58:10 +0000 |
|---|---|---|
| committer | Sam Yaple <sam@yaple.net> | 2015-11-22 18:34:35 +0000 |
| commit | f9ee96f21695f7eba81c07e257eda3a080108b70 (patch) | |
| tree | d25de160b6b55b4f53216fda92614da8556dd6ed /tests/setup_deploy.sh | |
| parent | 4d69166e57b756f9dacdb33b304180de2ae333d5 (diff) | |
| download | kolla-f9ee96f21695f7eba81c07e257eda3a080108b70.tar.gz kolla-f9ee96f21695f7eba81c07e257eda3a080108b70.zip | |
Convert gate to Ansible setup
To support multinode we must now distribute our setup to multiple
hosts. Instead of making special rules for this, we are going to
convert our existing setup to Ansible. This way both setup proceedures
take place in the exact same fashion.
Partially-Implements: blueprint multinode-gate
Change-Id: I43ece298bba994e9b5083403ef3cf6d4245cda6d
Diffstat (limited to 'tests/setup_deploy.sh')
| -rwxr-xr-x | tests/setup_deploy.sh | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/tests/setup_deploy.sh b/tests/setup_deploy.sh deleted file mode 100755 index 366bbf5a8..000000000 --- a/tests/setup_deploy.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash - -set -o xtrace -set -o errexit - -export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" - -function create_keys { - # Setup ssh key as required - sudo -H ssh-keygen -f /root/.ssh/id_rsa -N "" - sudo -H cat /root/.ssh/id_rsa.pub | sudo -H tee /root/.ssh/authorized_keys -} - -function install_deps { - # Install Ansible and docker-py - sudo -H pip install "ansible<2" docker-py - pip freeze | egrep "docker|ansible" -} - -function copy_configs { - # Copy configs - sudo cp -a etc/kolla /etc/ -} - -create_keys -install_deps -copy_configs - -# Link the logs directory into root -mkdir -p logs -sudo ln -s $(pwd)/logs /root/logs |
