Skip to content

Expose Umbrel user name to app environments#2136

Open
schjonhaug wants to merge 1 commit into
getumbrel:masterfrom
schjonhaug:expose-user-name-to-apps
Open

Expose Umbrel user name to app environments#2136
schjonhaug wants to merge 1 commit into
getumbrel:masterfrom
schjonhaug:expose-user-name-to-apps

Conversation

@schjonhaug

Copy link
Copy Markdown

Summary

  • expose the Umbrel account display name to legacy app scripts as UMBREL_USER_NAME
  • pass user.name from umbreld into the app compatibility script without changing existing app env vars
  • add fixture coverage for app compose opt-in via UMBREL_USER_NAME

Apps can opt in by referencing ${UMBREL_USER_NAME} in their compose files or scripts. The value is not injected into app containers unless an app passes it through.

Test plan

  • npm run format:check
  • npm run typecheck
  • npm run test -- apps.integration.test (local environment timed out during beforeAll because /var/run/dbus/system_bus_socket is unavailable; no test body ran)

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