Skip to content

Fix openclaw gateway: use OPENCLAW_GATEWAY_TOKEN env var#28

Merged
nsheaps merged 2 commits intomainfrom
claude/fix-arcane-ci-deployment-UTgU0
Mar 20, 2026
Merged

Fix openclaw gateway: use OPENCLAW_GATEWAY_TOKEN env var#28
nsheaps merged 2 commits intomainfrom
claude/fix-arcane-ci-deployment-UTgU0

Conversation

@nsheaps
Copy link
Copy Markdown
Owner

@nsheaps nsheaps commented Mar 20, 2026

Summary

  • Replace --token-file /run/secrets/openclaw_gateway_token with OPENCLAW_GATEWAY_TOKEN env var
  • The openclaw gateway does not support --token-file (docs) — it supports --token (inline) or the OPENCLAW_GATEWAY_TOKEN environment variable
  • Uses a shell wrapper to read the secret file into the env var at container start, then exec into the node process
  • Also includes the previously merged action version updates

Test plan

  • Merge nsheaps/github-actions PR Set up Home Assistant configuration sync and management #15 first (timeout + enabled fixes)
  • Merge this PR
  • Re-run arcane-deploy workflow (manual dispatch with force=true)
  • Verify openclaw-gateway starts without the unknown flag error
  • Verify the gateway health check passes

https://claude.ai/code/session_01EPuZkcSGc4zpbDDBvMd3Jz

claude added 2 commits March 20, 2026 02:42
- actions/checkout@v4 → @v6 (Node.js 20 deprecated)
- 1password/load-secrets-action@v2 → @V3 (Node.js 20 deprecated)

These were missed when the workflow was refactored for multi-host
deployments, while other workflows in the repo were already updated.

https://claude.ai/code/session_01EPuZkcSGc4zpbDDBvMd3Jz
The openclaw gateway doesn't support --token-file. Use the
OPENCLAW_GATEWAY_TOKEN environment variable instead, reading the
secret from the file at container start via a shell wrapper.

https://claude.ai/code/session_01EPuZkcSGc4zpbDDBvMd3Jz
@nsheaps nsheaps merged commit 158a183 into main Mar 20, 2026
1 check passed
@nsheaps nsheaps deleted the claude/fix-arcane-ci-deployment-UTgU0 branch March 20, 2026 03:03
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.

2 participants