remove helm debug, hide demo job behind CI var
This commit is contained in:
parent
a7f3543516
commit
c28955c8ba
|
@ -95,8 +95,7 @@ update-demo:
|
||||||
HELM_REPO: https://gitlab.tt-rss.org/tt-rss/helm-charts/tt-rss
|
HELM_REPO: https://gitlab.tt-rss.org/tt-rss/helm-charts/tt-rss
|
||||||
script:
|
script:
|
||||||
- git clone ${HELM_REPO} chart
|
- 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}
|
- helm upgrade --atomic --install tt-rss-demo chart --values .helm/values-demo.yaml --set imageTag=${CI_COMMIT_SHORT_SHA}
|
||||||
rules:
|
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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue