Skip to content
Snippets Groups Projects
Commit fa7414e8 authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

rename package

parent 4e1a9c4c
No related branches found
No related tags found
1 merge request!23Rename package
Pipeline #132612 failed
......@@ -5,8 +5,8 @@ upload:
needs: []
image: harbor.pasteur.fr/kube-system/helm-kubectl:3.4.0
script:
- CHART_VERSION=$(helm show chart shiny-server | grep version | cut -d' ' -f2)
- CHART_NAME=$(helm show chart shiny-server | grep name | cut -d' ' -f2)
- CHART_VERSION=$(helm show chart shiny-k8s-toolkit-helm | grep version | cut -d' ' -f2)
- CHART_NAME=$(helm show chart shiny-k8s-toolkit-helm | grep name | cut -d' ' -f2)
- |
if [ "helm" == "${CI_COMMIT_REF_SLUG}" ]; then
export CHANNEL="stable"
......@@ -14,7 +14,7 @@ upload:
export CHANNEL="${CI_COMMIT_REF_SLUG}"
fi
echo $CHANNEL
- helm package shiny-server
- helm package shiny-k8s-toolkit-helm
- curl --request POST --user gitlab-ci-token:$CI_JOB_TOKEN --form "chart=@${CHART_NAME}-${CHART_VERSION}.tgz" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/api/${CHANNEL}/charts"
......
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