remove helm debug, hide demo job behind CI var

This commit is contained in:
Andrew Dolgov 2023-10-22 19:27:42 +03:00
parent a7f3543516
commit c28955c8ba
No known key found for this signature in database
GPG Key ID: 1A56B4FA25D4AF2A
1 changed files with 1 additions and 2 deletions

View File

@ -95,8 +95,7 @@ update-demo:
HELM_REPO: https://gitlab.tt-rss.org/tt-rss/helm-charts/tt-rss
script:
- git clone ${HELM_REPO} chart
- helm template tt-rss-demo chart --values .helm/values-demo.yaml --set imageTag=${CI_COMMIT_SHORT_SHA}
- helm upgrade --atomic --install tt-rss-demo chart --values .helm/values-demo.yaml --set imageTag=${CI_COMMIT_SHORT_SHA}
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_REGISTRY_USER != null
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_REGISTRY_USER != null && $UPDATE_DEMO == "true"