Commit Graph

9 Commits

Author SHA1 Message Date
Dusan Vojacek
21b3d12955 deploy.sh: stop app kontejnerů PŘED flyway (ne až před buildem)
All checks were successful
CI and deploy / migration-check (push) Successful in 19s
CI and deploy / deploy (push) Successful in 44s
Run 368/369: flyway validate 9,5 min nedostal spojení k db (EOF) — server
zadušený běžícím stackem + buildem. Stop backend/frontend/postgrest hned po
compose config; db zůstává pro flyway. Workflow self-install už funguje
(ověřeno v logu 369: nový skript se použil).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-11 23:08:34 +02:00
Dusan Vojacek
e7b87fbabd Deploy: validate s ignore pending + workflow si sám aktualizuje deploy.sh
Some checks failed
CI and deploy / migration-check (push) Successful in 5m2s
CI and deploy / deploy (push) Failing after 3m27s
deploy.sh validate selhával na nové/změněné repeatable (flyway 12: pending =
error), kterou má hned následující migrate aplikovat → -ignoreMigrationPatterns
'*:pending'. Workflow deploy step nově nejdřív resetne checkout a nainstaluje
ROOT kopii deploy.sh z repa — opravy skriptu se propagují bez ručního zásahu
na serveru (deploy.sh fetch/reset zopakuje idempotentně).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-11 22:45:41 +02:00
Dusan Vojacek
46d333d561 deploy.sh: stop app kontejnerů před buildem + self-sync skriptu
Some checks failed
CI and deploy / migration-check (push) Failing after 17s
CI and deploy / deploy (push) Has been skipped
Slabý server: build s běžícím stackem se dusí (pozorování z provozu) —
před docker compose build zastavit backend/frontend/postgrest (db zůstává).
Self-sync: po git resetu se ROOT/deploy.sh atomicky obnoví z checkoutu
(projeví se příštím během). První instalace nové verze ručně:
install -m 0755 /opt/ems-deploy/app/deploy/deploy.sh /opt/ems-deploy/deploy.sh

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-11 15:52:25 +02:00
Dusan Vojacek
906eeb1609 flyway check
All checks were successful
CI and deploy / migration-check (push) Successful in 3s
CI and deploy / deploy (push) Successful in 14s
2026-04-19 14:11:57 +02:00
Dusan Vojacek
a7cff141f7 fix flyway
Some checks failed
deploy / deploy (push) Successful in 12s
test / smoke-test (push) Has been cancelled
2026-04-05 02:57:43 +02:00
Dusan Vojacek
dbb7804b80 351. fix
Some checks failed
deploy / deploy (push) Successful in 10s
test / smoke-test (push) Has been cancelled
2026-04-05 01:42:53 +02:00
Dusan Vojacek
5d3bc5b394 next fix of deploy
Some checks failed
deploy / deploy (push) Failing after 0s
test / smoke-test (push) Has been cancelled
2026-04-05 01:41:12 +02:00
Dusan Vojacek
01545af471 fix git safe directory
Some checks failed
deploy / deploy (push) Failing after 0s
test / smoke-test (push) Has been cancelled
2026-04-05 01:37:18 +02:00
Dusan Vojacek
8a457b7668 pred prvnim
Some checks failed
test / smoke-test (push) Successful in 16s
deploy / deploy (push) Has been cancelled
2026-04-04 18:58:59 +02:00