Skip to content

Add automatic Mycel production deploys on mycel-host - #455

Merged
cursor[bot] merged 2 commits into
mainfrom
cursor/deploy-mycel-workflow-437f
Sep 2, 2026
Merged

Add automatic Mycel production deploys on mycel-host#455
cursor[bot] merged 2 commits into
mainfrom
cursor/deploy-mycel-workflow-437f

Conversation

@wschenk

@wschenk wschenk commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds continuous deploy for Mycel as a peer of Gaia’s workflow: push to main (and workflow_dispatch) on a self-hosted runner labeled mycel runs the existing deploy/mycel/deploy.sh. Mycel stays off Gaia’s runner and off redeploy.sh (ADR 0030).

Changes

  • .github/workflows/deploy-mycel.yml — cousin of deploy-gaia.yml with:
    • runs-on: [self-hosted, mycel]
    • concurrency group mycel-deploy, cancel-in-progress: false
    • tight path filters (packages/mycel, apps/mycel-client, packages/substrate, deploy/mycel, workflow file only — no broad packages/** / lockfile)
    • MYCEL_ENV_FILE: /opt/umwelten/deploy/mycel/.env (runbook path)
    • push + workflow_dispatch only (never pull_request)
  • deploy/mycel/README.md — continuous-deploy section: when it fires, one-time runner install (--labels mycel), public-repo warning, manual workflow_dispatch
  • deploy/mycel/deploy.sh — header no longer says deploys are person-only; points at the new workflow

Out of scope (intentional)

  • No changes to Gaia workflow or deploy/gaia/redeploy.sh
  • No second deploy script; reuses deploy/mycel/deploy.sh

Operator follow-up

One-time: install a GitHub Actions runner on mycel-host with labels self-hosted, mycel (see updated README). Until that runner exists, the workflow will queue.

Open in Web Open in Cursor 

Mirror Gaia's continuous-deploy pattern with a peer workflow that runs
only on the mycel-labeled self-hosted runner and calls deploy/mycel/deploy.sh
for tight Mycel/substrate/client path changes — never Gaia's runner or
redeploy.sh (ADR 0030).

Co-authored-by: Will Schenk <wschenk@gmail.com>
@wschenk
wschenk marked this pull request as ready for review September 2, 2026 22:31
Operators install the Actions runner over IAP from a laptop (gh mint
the one-hour token; gcloud ssh runs config + systemd), matching Gaia
and keeping mycel off the Gaia runner.

Co-authored-by: Will Schenk <wschenk@gmail.com>
@cursor
cursor Bot merged commit 536547e into main Sep 2, 2026
1 check passed
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