Skip to content

panel: 1-click whole-stack deploy (/dashboard/deploy-stack) - #19

Merged
pipozzz merged 1 commit into
mainfrom
feat/deploy-stack
Oct 5, 2026
Merged

pipozzz merged 1 commit into
mainfrom
feat/deploy-stack

Conversation

@pipozzz

@pipozzz pipozzz commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Phase 1 of the registry "deploy a whole stack" axis (pairs with the site PR on Nomploy/nomad-packs).

New landing page /dashboard/deploy-stack (sibling of deploy-pack):

  • reads ?packs=a,b,c&registry=<url>&stack=<id> from a "Deploy stack to Nomploy" link on packs.nomploy.com,
  • logged-in user picks a project + environment,
  • creates each pack as a nomad-pack service and (by default) deploys it, with per-pack progress; a "create only" checkbox skips deploy.

Secrets: each pack's sensitive vars are auto-generated — hex matching the pack default's length when it looks like a fixed-length hex token (e.g. a 64-char encryption key), otherwise a 32-char alphanumeric (safe in HCL and in URLs/DSNs). Non-secret vars keep pack defaults; the page notes to review a service afterwards.

Reuses the existing nomad.getNomadPack + compose.create + compose.deploy flow — no new server mutation, deploy queue (concurrency 1) serializes the rollouts.

Type-clean (the file has no tsc errors; the 8 pre-existing tsc errors on main are unrelated). Needs a panel redeploy to take effect.

🤖 Generated with Claude Code

New deep-link landing (sibling of deploy-pack): reads ?packs=a,b,c&registry=
&stack=, lets the logged-in user pick a project + environment, then creates
each pack as a nomad-pack service and deploys it. Sensitive vars are
auto-generated (hex when the pack default is a fixed-length hex token, else a
32-char alphanumeric); non-secret vars keep pack defaults. Reuses the existing
nomad.getNomadPack + compose.create + compose.deploy flow — no new server
mutation. Per-pack progress + an optional "create only" mode.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@pipozzz
pipozzz merged commit f65cfa9 into main Oct 5, 2026
2 checks passed
@pipozzz
pipozzz deleted the feat/deploy-stack branch October 5, 2026 07:25
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