add demo k8s job

This commit is contained in:
Andrew Dolgov 2023-10-22 19:12:51 +03:00
parent efd5d79dde
commit 1bfae41e6d
No known key found for this signature in database
GPG Key ID: 1A56B4FA25D4AF2A
2 changed files with 21 additions and 0 deletions

View File

@ -87,3 +87,13 @@ ttrss-fpm-pgsql-static:publish:
extends: .build-master extends: .build-master
variables: variables:
DOCKERFILE: ${CI_PROJECT_DIR}/.docker/app/Dockerfile DOCKERFILE: ${CI_PROJECT_DIR}/.docker/app/Dockerfile
update-demo:
stage: publish
image: ${HELM_IMAGE}
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 -f .helm/values-demo.yaml

11
.helm/values-demo.yaml Normal file
View File

@ -0,0 +1,11 @@
imageTag: latest
user:
name: demo
password: demo
access_level: 10
virtualservice:
suffix: k3s.kake
additional_domains:
- demo.tt-rss.org