fix: run backup installer through sh #52

Merged
admin merged 2 commits from fix/deploy-cron-installer-permission into main 2026-09-17 10:12:16 +00:00
4 changed files with 9 additions and 5 deletions
Showing only changes of commit 4cf6cba77c - Show all commits

View File

@@ -86,7 +86,7 @@ jobs:
-v "$release:/src/release.tar:ro" \
-v "$PROD_PATH":/dst \
alpine:3.20 sh -c 'tar -xf /src/release.tar -C /dst'
/srv/miem_workers/infra/install-postgres-backup-cron.sh
sh /srv/miem_workers/infra/install-postgres-backup-cron.sh
docker compose up -d --build
runtime_version="$(docker compose exec -T api python -c 'from app.version import BACKEND_VERSION; print(BACKEND_VERSION)')"
test "$runtime_version" = "$EXPECTED_BACKEND_VERSION"

View File

@@ -1,5 +1,9 @@
# Changelog
## 0.8.15
- Исправлен production deploy: cron installer запускается через `sh` и не требует executable-бита.
## 0.8.14
- Production CD больше не создаёт backup при каждом deploy; еженедельная задача

View File

@@ -1,3 +1,3 @@
APP_VERSION = "0.8.14"
FRONTEND_VERSION = "0.8.14"
BACKEND_VERSION = "0.8.14"
APP_VERSION = "0.8.15"
FRONTEND_VERSION = "0.8.15"
BACKEND_VERSION = "0.8.15"

View File

@@ -1,6 +1,6 @@
[project]
name = "miem-workers"
version = "0.8.14"
version = "0.8.15"
description = "MIEM employees parser, admin API, and web admin"
requires-python = ">=3.11"
dependencies = [