diff options
author | Andrew Dolgov <[email protected]> | 2023-10-22 19:27:42 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2023-10-22 19:27:42 +0300 |
commit | c28955c8bade8409fbe0b106b4ece7f7cfd7323a (patch) | |
tree | 7159f6db8876d37a375ee608e815810737d38f9e | |
parent | a7f35435160de119ddde7e0921a8829d9d5460e9 (diff) |
remove helm debug, hide demo job behind CI var
-rw-r--r-- | .gitlab-ci.yml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 28d7703e3..21a376c81 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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" |