Code Review
/
it
/
dep.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Minor fixes
[it/dep.git]
/
ric-xapps
/
90-xApps
/
bin
/
install
diff --git
a/ric-xapps/90-xApps/bin/install
b/ric-xapps/90-xApps/bin/install
index
08f4563
..
aa17714
100755
(executable)
--- a/
ric-xapps/90-xApps/bin/install
+++ b/
ric-xapps/90-xApps/bin/install
@@
-155,7
+155,8
@@
else
fi
fi
-
+mkdir /tmp/$CHART_NAME/config/
+mkdir /tmp/$CHART_NAME/descriptors/
cp $CONFIG_JSON_PATH /tmp/$CHART_NAME/config/
cp $DESCRIPTOR_PATH /tmp/$CHART_NAME/descriptors/
cp $CONFIG_JSON_PATH /tmp/$CHART_NAME/config/
cp $DESCRIPTOR_PATH /tmp/$CHART_NAME/descriptors/
@@
-165,6
+166,5
@@
helm package -d /tmp /tmp/$CHART_NAME
echo $HELM_REPO
echo $HELM_REPO
-curl -k -u $HELM_REPO_USERNAME:$HELM_REPO_PASSWORD $HELM_REPO --upload-file /tmp/$CHART_NAME-$CHART_VERSION.tgz -v
-
-
+#curl -k -u $HELM_REPO_USERNAME:$HELM_REPO_PASSWORD $HELM_REPO --upload-file /tmp/$CHART_NAME-$CHART_VERSION.tgz -v
+curl -Lk -u $HELM_REPO_USERNAME:$HELM_REPO_PASSWORD "$HELM_REPO"/api/charts --data-binary "@/tmp/$CHART_NAME-$CHART_VERSION.tgz"