Skip to content

TPT-4497: Upgrade linodego to v2 - #234

Merged
zliang-akamai merged 3 commits into
linode:mainfrom
zliang-akamai:feat/linodego-v2
Jul 29, 2026
Merged

TPT-4497: Upgrade linodego to v2#234
zliang-akamai merged 3 commits into
linode:mainfrom
zliang-akamai:feat/linodego-v2

Conversation

@zliang-akamai

Copy link
Copy Markdown
Member

📝 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.

@zliang-akamai
zliang-akamai requested review from a team as code owners July 21, 2026 22:45
@zliang-akamai
zliang-akamai requested review from Copilot, ezilber-akamai and psnoch-akamai and removed request for a team July 21, 2026 22:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 new NewClient error 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.

Comment thread pkg/drivers/linode/linode.go Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

Comment thread pkg/drivers/linode/linode.go
Comment thread pkg/drivers/linode/linode.go Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 3 changed files in this pull request and generated no new comments.

@zliang-akamai
zliang-akamai merged commit f524014 into linode:main Jul 29, 2026
6 checks passed
@zliang-akamai
zliang-akamai deleted the feat/linodego-v2 branch July 29, 2026 21:03
@zliang-akamai zliang-akamai added the improvement for improvements in existing functionality in the changelog. label Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement for improvements in existing functionality in the changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants