mirror of https://tt-rss.org/git/tt-rss.git
switch to template helm ci
This commit is contained in:
parent
c7e36e1a0c
commit
a994db2b5a
|
@ -113,13 +113,12 @@ ttrss-fpm-pgsql-static:publish:
|
|||
DOCKERFILE: ${CI_PROJECT_DIR}/.docker/app/Dockerfile
|
||||
|
||||
update-demo:
|
||||
stage: publish
|
||||
image: ${HELM_IMAGE}
|
||||
extends: .deploy-helm-chart
|
||||
variables:
|
||||
HELM_REPO: https://gitlab.tt-rss.org/tt-rss/helm-charts/tt-rss
|
||||
script:
|
||||
- git clone ${HELM_REPO} chart
|
||||
- helm upgrade --atomic --install tt-rss-demo chart --values .helm/values-demo.yaml --set imageTag=${CI_COMMIT_SHORT_SHA}
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue