test_dep_build #4

Merged
jonas merged 2 commits from test_dep_build into main 2024-11-11 15:12:57 +00:00
Showing only changes of commit c5d44ffffa - Show all commits

View File

@ -52,8 +52,6 @@ jobs:
cd ${REPO_PATH}/${chart} cd ${REPO_PATH}/${chart}
CHART_NAME=$(yq .name Chart.yaml) CHART_NAME=$(yq .name Chart.yaml)
CHART_VERSION=$(yq .version Chart.yaml) CHART_VERSION=$(yq .version Chart.yaml)
echo "Building dependancies for helm-chart"
helm dependency build
echo "Packaging ${CHART_NAME}-${CHART_VERSION}" echo "Packaging ${CHART_NAME}-${CHART_VERSION}"
helm package . helm package .
curl -H "Authorization: token $PACKAGE_TOKEN" -X POST --upload-file ${CHART_NAME}-${CHART_VERSION}.tgz https://git.rre.nu/api/packages/jonas/helm/api/charts curl -H "Authorization: token $PACKAGE_TOKEN" -X POST --upload-file ${CHART_NAME}-${CHART_VERSION}.tgz https://git.rre.nu/api/packages/jonas/helm/api/charts