From d548d67b434982495a52347db7e55fe9f1d92dd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojt=C4=9Bch=20Mare=C5=A1?= Date: Sun, 19 Jun 2022 10:57:28 +0000 Subject: [PATCH] refactor: rename chart to charts [ci skip] it is common practice to name the folder charts even though there is only one helm chart --- .gitlab-ci.yml | 2 +- deploy/{chart => charts}/wsj-standup/.helmignore | 0 deploy/{chart => charts}/wsj-standup/Chart.yaml | 0 deploy/{chart => charts}/wsj-standup/templates/_helpers.tpl | 0 deploy/{chart => charts}/wsj-standup/templates/configmap.yml | 0 deploy/{chart => charts}/wsj-standup/templates/job.yaml | 0 .../wsj-standup/templates/registry-secret.yaml | 0 .../{chart => charts}/wsj-standup/templates/serviceaccount.yaml | 0 deploy/{chart => charts}/wsj-standup/values.yaml | 0 9 files changed, 1 insertion(+), 1 deletion(-) rename deploy/{chart => charts}/wsj-standup/.helmignore (100%) rename deploy/{chart => charts}/wsj-standup/Chart.yaml (100%) rename deploy/{chart => charts}/wsj-standup/templates/_helpers.tpl (100%) rename deploy/{chart => charts}/wsj-standup/templates/configmap.yml (100%) rename deploy/{chart => charts}/wsj-standup/templates/job.yaml (100%) rename deploy/{chart => charts}/wsj-standup/templates/registry-secret.yaml (100%) rename deploy/{chart => charts}/wsj-standup/templates/serviceaccount.yaml (100%) rename deploy/{chart => charts}/wsj-standup/values.yaml (100%) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 93641b8..4642940 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,6 +22,6 @@ deploy:prod: environment: name: prod script: - - helm upgrade --install wsj-standup ./deploy/chart/wsj-standup --namespace wsj --set image.tag=$IMAGE_TAG --set=app.WEBHOOK_URL=$DISCORD_WEBHOOK_URL --set app.SENTRY_DSN=$SENTRY_DSN --set image.pullSecretBase64=$REGISTRY_PULL_SECRET_BASE64 + - helm upgrade --install wsj-standup ./deploy/charts/wsj-standup --namespace wsj --set image.tag=$IMAGE_TAG --set=app.WEBHOOK_URL=$DISCORD_WEBHOOK_URL --set app.SENTRY_DSN=$SENTRY_DSN --set image.pullSecretBase64=$REGISTRY_PULL_SECRET_BASE64 rules: - if: '$CI_COMMIT_BRANCH == "main"' diff --git a/deploy/chart/wsj-standup/.helmignore b/deploy/charts/wsj-standup/.helmignore similarity index 100% rename from deploy/chart/wsj-standup/.helmignore rename to deploy/charts/wsj-standup/.helmignore diff --git a/deploy/chart/wsj-standup/Chart.yaml b/deploy/charts/wsj-standup/Chart.yaml similarity index 100% rename from deploy/chart/wsj-standup/Chart.yaml rename to deploy/charts/wsj-standup/Chart.yaml diff --git a/deploy/chart/wsj-standup/templates/_helpers.tpl b/deploy/charts/wsj-standup/templates/_helpers.tpl similarity index 100% rename from deploy/chart/wsj-standup/templates/_helpers.tpl rename to deploy/charts/wsj-standup/templates/_helpers.tpl diff --git a/deploy/chart/wsj-standup/templates/configmap.yml b/deploy/charts/wsj-standup/templates/configmap.yml similarity index 100% rename from deploy/chart/wsj-standup/templates/configmap.yml rename to deploy/charts/wsj-standup/templates/configmap.yml diff --git a/deploy/chart/wsj-standup/templates/job.yaml b/deploy/charts/wsj-standup/templates/job.yaml similarity index 100% rename from deploy/chart/wsj-standup/templates/job.yaml rename to deploy/charts/wsj-standup/templates/job.yaml diff --git a/deploy/chart/wsj-standup/templates/registry-secret.yaml b/deploy/charts/wsj-standup/templates/registry-secret.yaml similarity index 100% rename from deploy/chart/wsj-standup/templates/registry-secret.yaml rename to deploy/charts/wsj-standup/templates/registry-secret.yaml diff --git a/deploy/chart/wsj-standup/templates/serviceaccount.yaml b/deploy/charts/wsj-standup/templates/serviceaccount.yaml similarity index 100% rename from deploy/chart/wsj-standup/templates/serviceaccount.yaml rename to deploy/charts/wsj-standup/templates/serviceaccount.yaml diff --git a/deploy/chart/wsj-standup/values.yaml b/deploy/charts/wsj-standup/values.yaml similarity index 100% rename from deploy/chart/wsj-standup/values.yaml rename to deploy/charts/wsj-standup/values.yaml