fix: run dev migration as deploy user #16

Merged
avm merged 2 commits from feature/state-corp-dev-migrate-ci-user into main 2026-07-24 13:26:07 +03:00
Owner

Follow-up to PR #15. The deploy SSH account is already the Compose owner and does not have the runuser utility. The first dev rollout deployed the image successfully but failed only at the new migration command with exit 127.

Invoke Docker Compose directly as the deploy SSH user. YAML parses locally; the same migration command succeeds on LXC 124 under the Compose owner.

Follow-up to PR #15. The deploy SSH account is already the Compose owner and does not have the runuser utility. The first dev rollout deployed the image successfully but failed only at the new migration command with exit 127. Invoke Docker Compose directly as the deploy SSH user. YAML parses locally; the same migration command succeeds on LXC 124 under the Compose owner.
avm added 2 commits 2026-07-24 13:23:05 +03:00
Merge remote-tracking branch 'origin/main' into dev
Some checks failed
CI/CD Pipeline / Code Quality Checks (push) Successful in 3m34s
CI/CD Pipeline / Run Tests (push) Successful in 3m41s
CI/CD Pipeline / Build and Push Dev Images (push) Successful in 2s
CI/CD Pipeline / Deploy Dev via Compose (push) Failing after 25s
983572a126
fix: run dev migration as deploy user
All checks were successful
CI/CD Pipeline / Code Quality Checks (pull_request) Successful in 1m51s
CI/CD Pipeline / Run Tests (pull_request) Successful in 2m20s
CI/CD Pipeline / Build and Push Dev Images (pull_request) Has been skipped
CI/CD Pipeline / Deploy Dev via Compose (pull_request) Has been skipped
1b81448bff
avm merged commit 922b00d8d1 into main 2026-07-24 13:26:07 +03:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: avm/state-corp-backend#16