Skip to content

docs: Use go install for reg* tools#2348

Merged
bschimke95 merged 2 commits into
mainfrom
KU-5058/move-k8sd-out-of-snap-regctl
Jan 30, 2026
Merged

docs: Use go install for reg* tools#2348
bschimke95 merged 2 commits into
mainfrom
KU-5058/move-k8sd-out-of-snap-regctl

Conversation

@bschimke95

@bschimke95 bschimke95 commented Jan 30, 2026

Copy link
Copy Markdown
Contributor

We remove the k8sd tools in canonical/k8sd#10

Instead, we now instruct the user to install the required tools with go install.

Backport

Not required. We move k8sd out of the snap with the upcoming release.

Checklist

  • PR title formatted as type: title
  • Covered by unit tests
  • Covered by integration tests
  • Documentation updated
  • CLA signed
  • Backport label added if necessary

Copilot AI review requested due to automatic review settings January 30, 2026 10:14
@bschimke95 bschimke95 requested review from berkayoz and removed request for Copilot January 30, 2026 10:16
Comment thread build-scripts/components/k8sd/version Outdated
@bschimke95 bschimke95 force-pushed the KU-5058/move-k8sd-out-of-snap-regctl branch from cbc9df0 to 52c2e09 Compare January 30, 2026 10:46
Copilot AI review requested due to automatic review settings January 30, 2026 10:46

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

This PR removes the dependency on wrapper scripts (regctl.sh and regsync.sh) for registry client tools by having users install the tools directly using go install. This simplifies the build process and removes the need for the k8s-snap source code when using these tools.

Changes:

  • Modified test setup script to install regctl on-demand using go install instead of using a wrapper script
  • Updated documentation to instruct users to install regctl and regsync directly via go install instead of using wrapper scripts
  • Removed references to the now-deleted wrapper scripts

Reviewed changes

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

File Description
tests/integration/lxd/setup-image.sh Replaces wrapper script path with on-demand installation of regctl binary using go install
docs/canonicalk8s/snap/howto/install/offline.md Updates offline installation instructions to use direct go install commands for regctl and regsync tools, removes references to deleted wrapper scripts

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/integration/lxd/setup-image.sh
Comment thread tests/integration/lxd/setup-image.sh Outdated

@berkayoz berkayoz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@bschimke95 bschimke95 merged commit 19ae353 into main Jan 30, 2026
13 of 15 checks passed
@bschimke95 bschimke95 deleted the KU-5058/move-k8sd-out-of-snap-regctl branch January 30, 2026 11:01
@bschimke95 bschimke95 changed the title build: Build reg* binaries directly docs: Use go install for reg* tools Jan 30, 2026
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.

3 participants