From 5a4d9fa3ef032eccce6c74d93d06e33ef54d2395 Mon Sep 17 00:00:00 2001
From: Bryan Brancotte <bryan.brancotte@pasteur.fr>
Date: Thu, 6 Jul 2023 15:02:39 +0200
Subject: [PATCH] rename package after project have been renamed

---
 .gitlab-ci.yml                                            | 8 ++++----
 {rshiny => shiny-server-hosting}/.helmignore              | 0
 {rshiny => shiny-server-hosting}/Chart.yaml               | 0
 {rshiny => shiny-server-hosting}/templates/NOTES.txt      | 0
 {rshiny => shiny-server-hosting}/templates/_helpers.tpl   | 0
 .../templates/_secretHelper.tpl                           | 0
 .../templates/deployment.yaml                             | 0
 {rshiny => shiny-server-hosting}/templates/hpa.yaml       | 0
 .../templates/image-pull-secret.yaml                      | 0
 {rshiny => shiny-server-hosting}/templates/ingress.yaml   | 0
 {rshiny => shiny-server-hosting}/templates/service.yaml   | 0
 {rshiny => shiny-server-hosting}/values.yaml              | 0
 12 files changed, 4 insertions(+), 4 deletions(-)
 rename {rshiny => shiny-server-hosting}/.helmignore (100%)
 rename {rshiny => shiny-server-hosting}/Chart.yaml (100%)
 rename {rshiny => shiny-server-hosting}/templates/NOTES.txt (100%)
 rename {rshiny => shiny-server-hosting}/templates/_helpers.tpl (100%)
 rename {rshiny => shiny-server-hosting}/templates/_secretHelper.tpl (100%)
 rename {rshiny => shiny-server-hosting}/templates/deployment.yaml (100%)
 rename {rshiny => shiny-server-hosting}/templates/hpa.yaml (100%)
 rename {rshiny => shiny-server-hosting}/templates/image-pull-secret.yaml (100%)
 rename {rshiny => shiny-server-hosting}/templates/ingress.yaml (100%)
 rename {rshiny => shiny-server-hosting}/templates/service.yaml (100%)
 rename {rshiny => shiny-server-hosting}/values.yaml (100%)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6146b03..04bd880 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,8 +5,8 @@ upload:
   needs: []
   image: harbor.pasteur.fr/kube-system/helm-kubectl:3.4.0
   script:
-    - CHART_VERSION=$(helm show chart rshiny | grep version | cut -d' ' -f2)
-    - CHART_NAME=$(helm show chart rshiny | grep name | cut -d' ' -f2)
+    - CHART_VERSION=$(helm show chart shiny-server-hosting | grep version | cut -d' ' -f2)
+    - CHART_NAME=$(helm show chart shiny-server-hosting | 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 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"
 
 
@@ -22,4 +22,4 @@ upload:
 trigger_job:
   needs: ["upload"]
   trigger:
-    project: hub/rshiny-k8s-example
\ No newline at end of file
+    project: hub/shiny-k8s-example
\ No newline at end of file
diff --git a/rshiny/.helmignore b/shiny-server-hosting/.helmignore
similarity index 100%
rename from rshiny/.helmignore
rename to shiny-server-hosting/.helmignore
diff --git a/rshiny/Chart.yaml b/shiny-server-hosting/Chart.yaml
similarity index 100%
rename from rshiny/Chart.yaml
rename to shiny-server-hosting/Chart.yaml
diff --git a/rshiny/templates/NOTES.txt b/shiny-server-hosting/templates/NOTES.txt
similarity index 100%
rename from rshiny/templates/NOTES.txt
rename to shiny-server-hosting/templates/NOTES.txt
diff --git a/rshiny/templates/_helpers.tpl b/shiny-server-hosting/templates/_helpers.tpl
similarity index 100%
rename from rshiny/templates/_helpers.tpl
rename to shiny-server-hosting/templates/_helpers.tpl
diff --git a/rshiny/templates/_secretHelper.tpl b/shiny-server-hosting/templates/_secretHelper.tpl
similarity index 100%
rename from rshiny/templates/_secretHelper.tpl
rename to shiny-server-hosting/templates/_secretHelper.tpl
diff --git a/rshiny/templates/deployment.yaml b/shiny-server-hosting/templates/deployment.yaml
similarity index 100%
rename from rshiny/templates/deployment.yaml
rename to shiny-server-hosting/templates/deployment.yaml
diff --git a/rshiny/templates/hpa.yaml b/shiny-server-hosting/templates/hpa.yaml
similarity index 100%
rename from rshiny/templates/hpa.yaml
rename to shiny-server-hosting/templates/hpa.yaml
diff --git a/rshiny/templates/image-pull-secret.yaml b/shiny-server-hosting/templates/image-pull-secret.yaml
similarity index 100%
rename from rshiny/templates/image-pull-secret.yaml
rename to shiny-server-hosting/templates/image-pull-secret.yaml
diff --git a/rshiny/templates/ingress.yaml b/shiny-server-hosting/templates/ingress.yaml
similarity index 100%
rename from rshiny/templates/ingress.yaml
rename to shiny-server-hosting/templates/ingress.yaml
diff --git a/rshiny/templates/service.yaml b/shiny-server-hosting/templates/service.yaml
similarity index 100%
rename from rshiny/templates/service.yaml
rename to shiny-server-hosting/templates/service.yaml
diff --git a/rshiny/values.yaml b/shiny-server-hosting/values.yaml
similarity index 100%
rename from rshiny/values.yaml
rename to shiny-server-hosting/values.yaml
-- 
GitLab