Danila Khodjaef and Cursor
3934cedc62
Fix devtoprod validateBuild exit-code handling
...
Ensure Invoke-Npm returns correct exit code without breaking step logic.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-08 17:46:56 +03:00
Danila Khodjaef and Cursor
9e28f3db3f
Fix validateBuild failing due to npm output capture
...
Ensure Invoke-Npm streams output to host and returns only exit code.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-08 17:32:49 +03:00
Danila Khodjaef and Cursor
4361178413
Prefer dev LAN bounds in validateBuild
...
Avoid relying on dev HTTPS when it can return transient 504 pages.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-08 15:52:45 +03:00
Danila Khodjaef and Cursor
ae6ffc8a08
Make dev validateBuild bounds check resilient
...
Retry and prefer LAN bounds URL to avoid transient 504 failures.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-08 15:48:51 +03:00
Danila Khodjaef and Cursor
21e3e41e48
Add one-command dev-to-prod release with clear SUCCESS/FAILED banners.
...
Introduce devtoprod:release orchestrator, config file, CLI result footers on deploy scripts, auto-thumb regeneration on curator fixes, and updated deploy documentation.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-08 14:54:56 +03:00
Danila Khodjaef and Cursor
313666a4ab
Make dev->prod deploy work for non-superuser role and fix image sync.
...
restore-db-data.js: fall back to multi-pass insert when the DB role cannot set session_replication_role, and parse multi-line INSERT values (bios) as whole statements. sync-images-to-prod.ps1: fix SMB root variable typo and fail fast with guidance when the share is not mapped. Document SMB mapping, non-superuser restore, and a troubleshooting table in the release runbook.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-07 15:26:35 +03:00
Danila Khodjaef and Cursor
96285737f5
Rename npm scripts to environment-prefixed names (dev:/prod:/devtoprod:/prodto:dev:/infra:).
...
Align package.json scripts and their references across scripts/, infra/, and db/ SQL with the dev-first workflow naming scheme.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-07 12:37:21 +03:00
Danila Khodjaef and Cursor
2edf577faf
Add dev/prod environments with TrueNAS Docker production deploy.
...
Split PostgreSQL into gallery_dev and gallery_prod, add Docker/Gitea deploy tooling,
SMB image sync, pgAdmin split script, dev:web on Keenetic :5173, and operator docs.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-04 15:15:19 +03:00