Repository navigation
feat: ENABLED=false takes a project down; the console can release through the platform app - #47
Merged
Merged
Conversation
…n release through the platform app A compose project whose deploy/<slug>/values says ENABLED=false is taken down by Deploy, volumes kept; removing the line deploys it again. The Deploy guard lets a bot change ENABLED=false lines as well as IMAGE_TAG lines, which is how the console's Release card disables, enables and picks a version. The console gets PLATFORM_APP_CLIENT_ID and PLATFORM_APP_PRIVATE_KEY to commit those changes as the platform app.
AmrMsCLL
added a commit
that referenced
this pull request
Nov 5, 2026
… hosts (#48) `uptime.py` still read `deploy/<slug>/values.yaml` and `core.yaml`, both retired with the chart in #43. The `enabled` check therefore always passed, so a project set to `ENABLED=false` (#47) would be probed and reported as Down. - Projects come from `deploy/` folders, with `entry`, `values`, `projects` and `DEPLOY_HOST` imported from `deploy.py` instead of a second parser. - A project whose `values` says `ENABLED=false` is not probed. - The `core.yaml` extra-hosts loop is gone; compose projects have one host, from the registry. Checked locally: `targets()` lists the six live hosts plus the agent, and drops a project whose `values` has `ENABLED=false`.
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.
feat: projects can be disabled with ENABLED=false, and the console can release through the platform app
A compose project whose deploy//values says ENABLED=false is taken down
by Deploy, volumes kept; removing the line deploys it again. The Deploy guard
lets a bot change ENABLED=false lines as well as IMAGE_TAG lines, which is how
the console's Release card disables, enables and picks a version. The console
gets PLATFORM_APP_CLIENT_ID and PLATFORM_APP_PRIVATE_KEY to commit those
changes as the platform app.