Skip to content
Snippets Groups Projects
Commit b403a189 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

update ci to work

parent 7221bb07
No related branches found
No related tags found
No related merge requests found
Pipeline #154408 passed
......@@ -6,8 +6,8 @@ build:
image: harbor.pasteur.fr/kube-system/helm-kubectl:3.12.0
script:
- echo "Building helm chart"
- CHART_VERSION=$(helm show chart . | grep version | cut -d' ' -f2)
- CHART_NAME=$(helm show chart . | grep name | cut -d' ' -f2)
- CHART_VERSION=$(helm show chart charts/supabase/ | grep version | cut -d' ' -f2)
- CHART_NAME=$(helm show chart charts/supabase/ | grep name | cut -d' ' -f2)
- echo $CHART_NAME
- echo $CHART_VERSION
- |
......@@ -19,7 +19,7 @@ build:
echo $CHANNEL
- export CHART_RELEASE_NAME="${CHART_NAME}-${CHART_VERSION}.tgz"
- echo $CHART_RELEASE_NAME
- helm package .
- helm package charts/supabase/
- HTTP_CODE=$(curl -o /dev/null --silent -Iw '%{http_code}' "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/${CHANNEL}/charts/${CHART_RELEASE_NAME}")
- |
if [ $HTTP_CODE == "200" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment