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

rename package after project have been renamed

parent 34178698
No related branches found
No related tags found
No related merge requests found
Pipeline #106761 failed
...@@ -5,8 +5,8 @@ upload: ...@@ -5,8 +5,8 @@ upload:
needs: [] needs: []
image: harbor.pasteur.fr/kube-system/helm-kubectl:3.4.0 image: harbor.pasteur.fr/kube-system/helm-kubectl:3.4.0
script: script:
- CHART_VERSION=$(helm show chart rshiny | grep version | cut -d' ' -f2) - CHART_VERSION=$(helm show chart shiny-server-hosting | grep version | cut -d' ' -f2)
- CHART_NAME=$(helm show chart rshiny | grep name | cut -d' ' -f2) - CHART_NAME=$(helm show chart shiny-server-hosting | grep name | cut -d' ' -f2)
- | - |
if [ "helm" == "${CI_COMMIT_REF_SLUG}" ]; then if [ "helm" == "${CI_COMMIT_REF_SLUG}" ]; then
export CHANNEL="stable" export CHANNEL="stable"
...@@ -14,7 +14,7 @@ upload: ...@@ -14,7 +14,7 @@ upload:
export CHANNEL="${CI_COMMIT_REF_SLUG}" export CHANNEL="${CI_COMMIT_REF_SLUG}"
fi fi
echo $CHANNEL echo $CHANNEL
- helm package rshiny - helm package shiny-server-hosting
- 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" - 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"
...@@ -22,4 +22,4 @@ upload: ...@@ -22,4 +22,4 @@ upload:
trigger_job: trigger_job:
needs: ["upload"] needs: ["upload"]
trigger: trigger:
project: hub/rshiny-k8s-example project: hub/shiny-k8s-example
\ No newline at end of file \ No newline at end of file
File moved
File moved
File moved
File moved
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