diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2020-05-18 09:40:36 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-05-18 09:40:36 +0000 |
commit | 9d0f567fc4c4ff12af022ed8e87854b1fd24d0dd (patch) | |
tree | 9499e39ad1c038bee751c04f2ff643db27a96c3c | |
parent | b6e666836146077d9062357399f9fb725e752ba1 (diff) | |
parent | 30ccad50e3af3cb5eea5bc88855f9bbb35682d02 (diff) |
Merge "deploy.sh does not work on Mac os x because untar directory is created before helm fetch"
-rwxr-xr-x | kubernetes/helm/plugins/deploy/deploy.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/helm/plugins/deploy/deploy.sh b/kubernetes/helm/plugins/deploy/deploy.sh index 3da189b908..bb98a3b95e 100755 --- a/kubernetes/helm/plugins/deploy/deploy.sh +++ b/kubernetes/helm/plugins/deploy/deploy.sh @@ -151,9 +151,6 @@ deploy() { # clear previously cached charts rm -rf $CACHE_DIR - # create log driectory - mkdir -p $LOG_DIR - # fetch umbrella chart (parent chart containing subcharts) if [[ -d "$CHART_URL" ]]; then mkdir -p $CHART_DIR @@ -169,6 +166,9 @@ deploy() { helm fetch $CHART_URL --untar --untardir $CACHE_DIR $VERSION fi + # create log driectory + mkdir -p $LOG_DIR + # move out subcharts to process separately mkdir -p $CACHE_SUBCHART_DIR mv $CHART_DIR/charts/* $CACHE_SUBCHART_DIR/ |