summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2024-02-17 12:31:49 +0300
committerAndrew Dolgov <[email protected]>2024-02-17 12:31:49 +0300
commitd19729157b9d0ed8c7b758141124e6e72f96aa49 (patch)
tree36228fcea61887e169ce97fb2c80eb044072a227
parent7602038264fc2538455a053cd025f0a5645e94f3 (diff)
more prod helm stuff
-rw-r--r--.gitlab-ci.yml23
1 files changed, 11 insertions, 12 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2897ece9d..7bb33c08a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -125,20 +125,19 @@ update-prod:
- cd chart
- git config user.name "Gitlab CI"
- git config user.email "[email protected]"
- - yq -ei '.app.image.tag = "'${CI_COMMIT_SHORT_SHA}'"' values-prod.yaml
- - yq -ei '.web.image.tag = "'${CI_COMMIT_SHORT_SHA}'"' values-prod.yaml
+ - yq -ei '.imageTag = "'${CI_COMMIT_SHORT_SHA}'"' values-prod.yaml
- git diff
- git add .
- git commit -m "update image tag to ${CI_COMMIT_SHORT_SHA}"
- git push origin master
-update-demo:
- extends: .deploy-helm-chart
- variables:
- HELM_CHART: oci://registry.fakecake.org/infra/helm-charts/tt-rss
- HELM_VALUES: .helm/values-demo.yaml
- HELM_RELEASE: tt-rss-demo
- HELM_ARGS: --set imageTag=${CI_COMMIT_SHORT_SHA}
- rules:
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_REGISTRY_USER != null && $UPDATE_DEMO == "true"
- stage: publish
+#update-demo:
+# extends: .deploy-helm-chart
+# variables:
+# HELM_CHART: oci://registry.fakecake.org/infra/helm-charts/tt-rss
+# HELM_VALUES: .helm/values-demo.yaml
+# HELM_RELEASE: tt-rss-demo
+# HELM_ARGS: --set imageTag=${CI_COMMIT_SHORT_SHA}
+# rules:
+# - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_REGISTRY_USER != null && $UPDATE_DEMO == "true"
+# stage: publish