microdroplet: reshape doctl onto api-v2 and hide the tree (MDROP-336) - #1945
Draft
sgupta832 wants to merge 4 commits into
Draft
microdroplet: reshape doctl onto api-v2 and hide the tree (MDROP-336)#1945sgupta832 wants to merge 4 commits into
sgupta832 wants to merge 4 commits into
Conversation
Restore the July doctl MicroDroplet command tree so it can be reshaped onto the api-v2 contract. Co-authored-by: Cursor <cursoragent@cursor.com>
Update create flags to --oci-ref/--checkpoint-id and --cpu/--memory, promote checkpoints to a sub-group, add options, drop the image sub-tree, and set Hidden so the command stays out of help/docs until GA. Co-authored-by: Cursor <cursoragent@cursor.com>
Format command_config/microdroplets_test. Temporarily replace godo with sgupta832/godo@v1.206.1-mdrop336.1 until digitalocean/godo Co-authored-by: Cursor <cursoragent@cursor.com> digitalocean#1098 releases; remove the replace then.
Author
|
CI fix: gofmt + temporary |
Co-authored-by: Cursor <cursoragent@cursor.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.
Summary
Restores MicroDroplet doctl support (reverted in #1900) onto the api-v2 contract, with
Hidden: trueso it stays out of--helpand generated docs until GA.Depends on: godo #1098 must merge and cut a release before this can vendor/compile. Do not merge until public preview is live (and godo is released).
What changed
--oci-ref/--checkpoint-id,--cpu/--memory,--portscreate/list/get/deleteagainst the sibling collectionmicrodroplet optionsfor create optionsimagesub-tree (edge-hidden in api-v2)Hidden: trueon the rootmicrodropletcommandTest plan
go test ./commands/ -run MicroDroplet(against local godo replace from Snap Version Fix #1098)make mocks/ vendor bump after godo releasemake integrationafter godo releasedoctl compute --helpdoes not listmicrodroplet; direct invocation still worksNotes
Marked draft intentionally. Mark ready-for-review only once PP is confirmed live (not merely when godo releases).
Jira: https://do-internal.atlassian.net/browse/MDROP-336 / MDROP-21
Made with Cursor