From 705e8d9a2f1c13bc82fe8fea3bc5452414fdd56e Mon Sep 17 00:00:00 2001 From: Bryan Sullivan Date: Tue, 17 Oct 2017 17:29:44 -0700 Subject: Fix deploy to avoid need to clone on admin/master node JIRA: MODELS-23 Change-Id: Ic0efddbaab960d26920e2c4c2e4d94b773a3d016 Signed-off-by: Bryan Sullivan --- tools/docker/demo_deploy.sh | 13 ++++++++----- tools/kubernetes/demo_deploy.sh | 16 +++++++++++----- tools/rancher/demo_deploy.sh | 15 +++++++++++---- 3 files changed, 30 insertions(+), 14 deletions(-) (limited to 'tools') diff --git a/tools/docker/demo_deploy.sh b/tools/docker/demo_deploy.sh index 9454c0e..544d9bd 100644 --- a/tools/docker/demo_deploy.sh +++ b/tools/docker/demo_deploy.sh @@ -48,13 +48,16 @@ echo "Setting up Docker..." bash ~/models/tools/docker/docker-cluster.sh all $master "$workers" # TODO: Figure this out... Have to break the setup into two steps as something # causes the ssh session to end before the prometheus setup, if both scripts -# (k8s-cluster and prometheus-tools) are in the same ssh session +# are in the same ssh session echo "Setting up Prometheus..." -scp -o StrictHostKeyChecking=no $key ubuntu@$master:/home/ubuntu/$key -ssh -x -o StrictHostKeyChecking=no ubuntu@$master <