Add server commands with extensible provider support#619
Merged
swalkinshaw merged 1 commit intomasterfrom Dec 20, 2025
Merged
Conversation
Introduce a new provider abstraction layer in pkg/server that enables support for multiple cloud providers. This refactor: - Adds Provider and DNSProvider interfaces for cloud operations - Implements DigitalOcean provider using the new abstraction - Adds `trellis server create` command to replace `trellis droplet create` - Adds `trellis server dns` command to replace `trellis droplet dns` - Marks existing `droplet` commands as deprecated - Adds deprecatedCommandHelpFunc to show deprecated commands separately - Updates default image to Ubuntu 24.04 - Adds server.provider config option in trellis.cli.yml The provider can be configured via: 1. --provider flag 2. TRELLIS_SERVER_PROVIDER environment variable 3. server.provider in trellis.cli.yml 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
2487574 to
dd0231b
Compare
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.
Introduce a new server provider abstraction layer in pkg/server that enables support for multiple cloud providers instead of the hardcoded Digitalocean support only. This refactor:
trellis server createcommand to replacetrellis droplet createtrellis server dnscommand to replacetrellis droplet dnsdropletcommands as deprecatedThe provider can be configured via:
🤖 Generated with Claude Code