From 82f60d837169d477708bd46236d689793d79105a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Fernandes?= Date: Sat, 29 Nov 2025 14:19:57 +0000 Subject: [PATCH] cd: enable cron job, set helm chart to version 12.4.0 --- .gitea/workflows/app-continous-deploy.yaml | 2 ++ ops-scripts/apply-app.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/app-continous-deploy.yaml b/.gitea/workflows/app-continous-deploy.yaml index 8caa811..3cef692 100644 --- a/.gitea/workflows/app-continous-deploy.yaml +++ b/.gitea/workflows/app-continous-deploy.yaml @@ -1,4 +1,6 @@ on: + schedule: + - cron: '0 9 * * 0' # every sunday 9 am push: branches: - main diff --git a/ops-scripts/apply-app.sh b/ops-scripts/apply-app.sh index f332a8e..8b06b62 100755 --- a/ops-scripts/apply-app.sh +++ b/ops-scripts/apply-app.sh @@ -15,7 +15,7 @@ if [ -n "${APP_HELM_VALUE_GITEA_ADMIN_USERNAME:-}" ]; then helm repo add gitea-charts https://dl.gitea.com/charts/ helm repo update - helm upgrade --install gitea gitea-charts/gitea \ + helm upgrade --install gitea gitea-charts/gitea --version 12.4.0 \ --values deploy/helm/values.yaml \ --set valkey.global.valkey.password=${APP_HELM_VALUE_VALKEY_GLOBAL_PASSWORD} \ --set postgresql.global.postgresql.auth.postgresPassword=${APP_HELM_VALUE_POSTGRESQL_AUTH_POSTGRESPASSWORD} \