summaryrefslogtreecommitdiffstats
path: root/tools/cloudify
diff options
context:
space:
mode:
authorBryan Sullivan <bryan.sullivan@att.com>2018-02-13 07:18:03 -0800
committerBryan Sullivan <bryan.sullivan@att.com>2018-02-13 13:41:29 -0800
commitf9c4507a0d9ae13a0ace2bd3f312d329371fc072 (patch)
treebfea49b232bcf40887158887511f58b286abea8a /tools/cloudify
parent50a5371ecd17f03089df1d2142b5479e86cd6479 (diff)
Fix "ambiguous redirect" etc with use in Jenkins
JIRA: MODELS-2 Change-Id: I4d07247b8fe535bab645475e689e46f48a6bacfa Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
Diffstat (limited to 'tools/cloudify')
-rw-r--r--tools/cloudify/k8s-cloudify.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/tools/cloudify/k8s-cloudify.sh b/tools/cloudify/k8s-cloudify.sh
index b3780ae..f922880 100644
--- a/tools/cloudify/k8s-cloudify.sh
+++ b/tools/cloudify/k8s-cloudify.sh
@@ -51,12 +51,6 @@
#. <user>: username on the target host. Also used to indicate OS name.
#. clean: uninstalls cloudify CLI and Manager
#.
-#. If using this script to start/stop blueprints with multiple k8s environments,
-#. before invoking the script copy the k8s_env.sh script from the target
-#. cluster and copy to ~/k8s_env.sh, e.g.
-#. scp centos@sm-1:/home/centos/k8s_env.sh ~/k8s_env_sm-1.sh
-#. cp ~/k8s_env_sm-1.sh ~/k8s_env.sh
-#.
#. Status: this is a work in progress, under test.
function fail() {
@@ -324,6 +318,7 @@ function start() {
log "package the blueprint"
# CLI: cfy blueprints package -o ~/tmp/$bp $bp
+ mkdir -p ~/tmp
tar ckf ~/tmp/blueprint.tar $bp
log "upload the blueprint"