Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmelsayed authored May 4, 2019
1 parent 661b106 commit 9118d22
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ build-chart-edge:
sed -i "s/^name:.*/name: keda-edge/g" /tmp/keda-edge/Chart.yaml
sed -i "s/^version:.*/version: 0.0.1-$(DATE)-$(GIT_VERSION)/g" /tmp/keda-edge/Chart.yaml
sed -i "s/^appVersion:.*/appVersion: $(GIT_VERSION)/g" /tmp/keda-edge/Chart.yaml
sed -i "s/^ tag:.*/ tag: master/g" /tmp/keda-edge/values.yaml

helm lint /tmp/keda-edge/
helm package /tmp/keda-edge/
Expand All @@ -67,8 +66,8 @@ publish-edge-chart: build-chart-edge
--account-name kedacore \
--sas-token "$(STORAGE_HELM_SAS_TOKEN)" 2>/dev/null | true

[ -s ./old_index.yaml ] && helm repo index . --url https://kedacore.blob.core.windows.net/helm --merge old_index.yaml || true
[ ! -s ./old_index.yaml ] && helm repo index . --url https://kedacore.blob.core.windows.net/helm || true
[ -s ./old_index.yaml ] && helm repo index . --url https://kedacore.azureedge.net/helm --merge old_index.yaml || true
[ ! -s ./old_index.yaml ] && helm repo index . --url https://kedacore.azureedge.net/helm || true

@az storage blob upload \
--container-name helm \
Expand Down

0 comments on commit 9118d22

Please sign in to comment.