summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml13
1 files changed, 6 insertions, 7 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1c31744..485873a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,6 +13,9 @@ include:
- project: 'ci/ci-templates'
ref: master
file: .ci-lint-common.yml
+ - project: 'ci/ci-templates'
+ ref: master
+ file: .ci-deploy-helm-chart.yml
eslint:
extends: .eslint
@@ -51,13 +54,9 @@ the-epube-web-nginx:branch:
DOCKERFILE: ${CI_PROJECT_DIR}/.docker/web-nginx/Dockerfile
update-demo:
- stage: publish
- image: ${HELM_IMAGE}
+ extends: .deploy-helm-chart
variables:
- HELM_REPO: https://gitlab.tt-rss.org/tt-rss/helm-charts/the-epube
- script:
- - git clone ${HELM_REPO} chart
- - helm upgrade --atomic --install the-epube-demo chart --values .helm/values-demo.yaml --set imageTag=${CI_COMMIT_SHORT_SHA}
+ HELM_CHART: oci://registry.fakecake.org/infra/helm-charts/the-epube
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_REGISTRY_USER != null && $UPDATE_DEMO == "true"
-
+ stage: publish