Skip to content

fix start-postgres chown order#8

Merged
markatto merged 4 commits into
mainfrom
mark/start-postgres-install-order
Jun 1, 2026
Merged

fix start-postgres chown order#8
markatto merged 4 commits into
mainfrom
mark/start-postgres-install-order

Conversation

@markatto
Copy link
Copy Markdown
Contributor

@markatto markatto commented Jun 1, 2026

The chown ran before apt-get install. Works on GH-hosted images (postgres user baked in) but fails on the minimal ARC runner image — postgresql-N postinst is what creates the user. Moves chown after install.

#7 verified only on hosted; first downstream ARC caller (lightsparkdev/webdev#27434) hit chown: invalid user: 'postgres:postgres'.

markatto added 3 commits June 1, 2026 16:26
The original chown ran before apt-get install, which works on GH-hosted
ubuntu images that bake in the postgres user but fails on the minimal
ghcr.io/actions/actions-runner image used by ARC — the user is created
by the postgresql-N postinst, not before. Move chown after install.

Add a matrixed smoke test (hosted + arc-runner-4) so this divergence
gets caught by CI instead of by the first downstream caller.
@markatto markatto marked this pull request as ready for review June 1, 2026 23:50
@markatto markatto changed the title fix start-postgres chown order + add ARC smoke test fix start-postgres chown order Jun 1, 2026
@markatto markatto merged commit 45a9cd8 into main Jun 1, 2026
@markatto markatto deleted the mark/start-postgres-install-order branch June 1, 2026 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant