TPT-4497: Upgrade linodego to v2 - #234
Merged
Merged
Conversation
zliang-akamai
requested review from
Copilot,
ezilber-akamai and
psnoch-akamai
and removed request for
a team
July 21, 2026 22:45
Contributor
There was a problem hiding this comment.
Pull request overview
Upgrades this Docker Machine Linode driver to use linodego/v2 (v2.4.2) and updates the gitlab.com/gitlab-org/ci-cd/docker-machine replacement, adjusting the driver code to match the updated client and API method signatures while aiming to preserve existing behavior.
Changes:
- Migrated Linode client creation and call sites to
github.com/linode/linodego/v2, including newNewClienterror handling and updated boot/reboot APIs. - Updated instance-boot and wait-for-running logic to match the new linodego v2 interfaces (boot options structs, context-based timeout).
- Bumped dependency versions in
go.mod/go.sum, including the GitLab Docker Machine replacement version.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| pkg/drivers/linode/linode.go | Updates driver implementation to linodego/v2 APIs, including client creation, boot options, and wait logic. |
| go.mod | Switches to linodego/v2 and updates the docker-machine replacement version and indirect deps. |
| go.sum | Refreshes dependency checksums for the upgraded module set. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
mawilk90
approved these changes
Jul 27, 2026
psnoch-akamai
approved these changes
Jul 29, 2026
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.
📝 Description
Upgrade to linodego v2.4.2 and GitLab Docker Machine v0.16.2-gitlab.46, preserving existing driver behavior while remaining on Go 1.25.