Skip to content

Release v0.9.10 - #390

Merged
cvince merged 2 commits into
mainfrom
release/v0.9.10
Oct 4, 2026
Merged

cvince merged 2 commits into
mainfrom
release/v0.9.10

Conversation

@cvince

@cvince cvince commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

capy 0.9.10

New

  • capy deploy dokploy --discover sets up Dokploy deploys for a whole org. It matches each Dokploy service to a Capy project by its GitHub repo, its folder in the repo and its branch, then proposes a deploy target for each match, rated certain or needs_review. It is built for agents: it always prints JSON and never prompts.
    • Write the proposals you accept into a plan file, run it with --plan <file> --dry-run to get a plan_id, then --plan <file> --confirm <plan_id> to write the targets.
    • The targets go into .capy/deploy.json through one pull request per repo, on the repo's default branch. No values are read, pushed or changed.
    • The plan file's format is in capy help --json under schemas.deploy_dokploy_plan.
  • The Dokploy URL is saved for the whole org. Passing --base-url once saves it for everyone in the org. Only org admins can save it. When it is missing, the command stops with DOKPLOY_SETTINGS_MISSING and says which flag to pass (exit code 3).

Changed

  • capy connect dokploy --discover no longer creates deploy targets. It only imports values. Use capy deploy dokploy --discover for targets.

cvince added 2 commits October 4, 2026 01:29
Matches Dokploy services to Capy projects (repo + repo-relative path +
branch) and writes Dokploy deploy targets: discover -> plan file ->
--dry-run (plan_id) -> --confirm, one keep PR per repo. Always JSON on
stdout, never prompts. Pushes no values.

- The Dokploy environment name outranks the default-branch rule when they
  name different Capy branches (a develop default branch deployed to a
  staging environment maps to staging, needs_review).
- capy connect dokploy --discover no longer creates deploy targets.
- The Dokploy base URL is the org system variable
  _CONNECTOR_DOKPLOY_BASE_URL. Only org admins save it; a missing URL is a
  structured refusal (unanswered: base_url, exit 3).
@cvince
cvince merged commit b3f85f0 into main Oct 4, 2026
5 checks 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.

1 participant