we don't need a separate demo stage now

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

View File

@ -3,7 +3,6 @@ stages:
- build
- test
- publish
- demo
variables:
ESLINT_PATHS: js plugins
@ -90,7 +89,7 @@ ttrss-fpm-pgsql-static:publish:
DOCKERFILE: ${CI_PROJECT_DIR}/.docker/app/Dockerfile
update-demo:
stage: demo
stage: publish
image: ${HELM_IMAGE}
variables:
HELM_REPO: https://gitlab.tt-rss.org/tt-rss/helm-charts/tt-rss
@ -98,4 +97,6 @@ update-demo:
- 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