diff --git a/packages/apps/Makefile b/packages/apps/Makefile index 92f68b9c..22937eff 100644 --- a/packages/apps/Makefile +++ b/packages/apps/Makefile @@ -7,7 +7,7 @@ repo: awk '$$3 != "HEAD" {print "mkdir -p $(TMP)/" $$1 "-" $$2}' versions_map | sh -ex awk '$$3 != "HEAD" {print "git archive " $$3 " " $$1 " | tar -xf- --strip-components=1 -C $(TMP)/" $$1 "-" $$2 }' versions_map | sh -ex helm package -d "$(OUT)" $$(find . $(TMP) -mindepth 2 -maxdepth 2 -name Chart.yaml | awk 'sub("/Chart.yaml", "")' | sort -V) - cd "$(OUT)" && helm repo index . + cd "$(OUT)" && helm repo index . --url http://cozystack.cozy-system.svc/repos/apps rm -rf "$(TMP)" fix-chartnames: diff --git a/packages/extra/Makefile b/packages/extra/Makefile index bd5c1d26..6b3ff995 100644 --- a/packages/extra/Makefile +++ b/packages/extra/Makefile @@ -7,7 +7,7 @@ repo: awk '$$3 != "HEAD" {print "mkdir -p $(TMP)/" $$1 "-" $$2}' versions_map | sh -ex awk '$$3 != "HEAD" {print "git archive " $$3 " " $$1 " | tar -xf- --strip-components=1 -C $(TMP)/" $$1 "-" $$2 }' versions_map | sh -ex helm package -d "$(OUT)" $$(find . $(TMP) -mindepth 2 -maxdepth 2 -name Chart.yaml | awk 'sub("/Chart.yaml", "")' | sort -V) - cd "$(OUT)" && helm repo index . + cd "$(OUT)" && helm repo index . --url http://cozystack.cozy-system.svc/repos/extra rm -rf "$(TMP)" fix-chartnames: