From 39d12c6d77ba93a0cd1cc6e6047bdbcfe44cea2e Mon Sep 17 00:00:00 2001 From: Tin Lam Date: Mon, 12 Jun 2017 23:02:12 -0500 Subject: [PATCH] Remove temporary folder copying logic This patch set removes the need to create a temporary directory brought up in patch set [0]. [0] https://review.openstack.org/#/c/472451/ Change-Id: I57448d9722a33bb63fca5576d19b61f3015828ec --- tools/gate/funcs/helm.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tools/gate/funcs/helm.sh b/tools/gate/funcs/helm.sh index 1beb85413a..109dc69470 100755 --- a/tools/gate/funcs/helm.sh +++ b/tools/gate/funcs/helm.sh @@ -85,11 +85,8 @@ function helm_test_deployment { function helm_plugin_template_install { # NOTE(portdirect): the helm plugin install command does not seem to respect the --version flag with helm 2.3.0 #helm plugin install https://github.com/technosophos/helm-template --version 2.3.0.1 - TMP_DIR=$(mktemp -d) - curl -sSL https://github.com/technosophos/helm-template/releases/download/2.3.0%2B1/helm-template-linux-2.3.0.1.tgz | tar -zxv -C ${TMP_DIR} - mkdir -p ${HOME}/.helm/plugins/ - mv ${TMP_DIR}/ ${HOME}/.helm/plugins/helm-template - rm -rf ${TMP_DIR} + mkdir -p ${HOME}/.helm/plugins/helm-template + curl -sSL https://github.com/technosophos/helm-template/releases/download/2.3.0%2B1/helm-template-linux-2.3.0.1.tgz | tar -zxv -C ${HOME}/.helm/plugins/helm-template } function helm_template_run {