Repository navigation
panel: 1-click whole-stack deploy (/dashboard/deploy-stack) - #19
Merged
Merged
Conversation
New deep-link landing (sibling of deploy-pack): reads ?packs=a,b,c®istry= &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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 ofdeploy-pack):?packs=a,b,c®istry=<url>&stack=<id>from a "Deploy stack to Nomploy" link on packs.nomploy.com,nomad-packservice and (by default) deploys it, with per-pack progress; a "create only" checkbox skips deploy.Secrets: each pack's
sensitivevars 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.deployflow — no new server mutation, deploy queue (concurrency 1) serializes the rollouts.Type-clean (the file has no tsc errors; the 8 pre-existing
tscerrors on main are unrelated). Needs a panel redeploy to take effect.🤖 Generated with Claude Code