edgible stack
Manage application stacks (declarative multi-app deployments)
edgible stack deploy
Section titled “edgible stack deploy”Deploy or update applications from a stack file
edgible stack deploy [flags]| Flag | Description |
|---|---|
-f, --file <path> | Path to stack file (default: edgible.yml in current directory) |
--app <name> | Deploy only specified application |
--dry-run | Print the deploy plan without making any changes |
--no-wait | Return after cutting the release without waiting for on-device convergence |
--wait-timeout <seconds> | Max seconds to wait for convergence (default: 600) |
--allow-hostname-removal | Allow an apply that removes hostnames traffic currently reaches |
Examples
edgible stack deployedgible stack deploy -f production.ymledgible stack deploy -f production.yml --app api-serveredgible stack deploy -f production.yml --dry-runedgible stack deploy --no-wait # fire-and-forget (CI that polls itself)edgible stack deploy --allow-hostname-removalThe --dry-run plan
Section titled “The --dry-run plan”--dry-run computes a real plan — it reads live state from the API (read-only, no changes) and prints one line per application, then a summary and the deploy order:
+ web (create)~ api (update: 2 changes) spec.env.LOG_LEVEL: "info" → "debug" policies.ipRules.allow: array(1) → array(2)= database (in sync)! legacy-cron (orphaned — not declared in this stack file; deploy will not touch it. Remove with: edgible stack teardown / application delete)
Plan: 1 to create, 1 to update, 1 in sync, 1 orphaned.| Marker | Meaning |
|---|---|
+ create | Declared in the file but not yet live — deploy will create it. |
~ update | Live and declared, but drifted — the path: from → to lines list what deploy will change. |
= in sync | Live and matches the file — deploy makes no change. |
! orphaned | Live in the org but not declared in this stack file. It may belong to another stack or an imperative application create. Deploy never touches an orphan — it is reported so you notice it, not scheduled for change. |
Orphans are never deleted by a deploy. Removing an application is always explicit: edgible stack teardown for stack-managed apps, or edgible application delete for an individual one.
Deploys are change-aware
Section titled “Deploys are change-aware”Artifacts are content-addressed and shipped only if the device does not already hold them. When the resolved digests and the document both match the current release, no new version is cut and the line reads — unchanged, nothing to deploy, so running stack deploy reflexively is safe. Compose workloads can attach source directories as code[] entries so a code-only change ships an archive instead of re-shipping the image — see Ship code without rebuilding the image.
edgible stack teardown
Section titled “edgible stack teardown”Remove applications defined in a stack
edgible stack teardown [flags]| Flag | Description |
|---|---|
-f, --file <path> | Path to stack file (default: edgible.yml in current directory) |
--app <name> | Teardown only specified application |
-y, --yes | Skip the confirmation prompt |
Examples
edgible stack teardownedgible stack teardown -f production.ymledgible stack teardown -f production.yml --app workeredgible stack teardown -f production.yml --yes # CI: never wait on the confirmNotes
Teardown deletes the applications the stack file declares. An application that is deployed but no longer declared is left alone; stack diff lists those. Without a terminal to confirm on, pass --yes.
edgible stack status
Section titled “edgible stack status”Check the status of applications in a stack
edgible stack status [flags]| Flag | Description |
|---|---|
-f, --file <path> | Path to stack file (default: edgible.yml in current directory) |
--app <name> | Show status for specific application |
Examples
edgible stack statusedgible stack status -f production.ymledgible stack status -f production.yml --jsonedgible stack status -f production.yml --app databaseedgible stack validate
Section titled “edgible stack validate”Validate a stack file without deploying
edgible stack validate [flags]| Flag | Description |
|---|---|
-f, --file <path> | Path to stack file (default: edgible.yml in current directory) |
Examples
edgible stack validateedgible stack validate -f production.ymlNotes
Validation is local and read-only: it parses the file, substitutes ${ENV_VAR} references, embeds any compose files, and runs the schema plus the name-uniqueness and dependsOn-cycle checks. Errors exit 2. Two things are reported as warnings and do not change the exit code: an https access with a routes[] table but no /* default route, and docker workload images missing from the local daemon.
edgible stack diff
Section titled “edgible stack diff”Show differences between stack and deployed state
edgible stack diff [flags]| Flag | Description |
|---|---|
-f, --file <path> | Path to stack file (default: edgible.yml in current directory) |
Examples
edgible stack diffedgible stack diff -f production.yml