Skip to content

feat(sh): install_humioctl - #242

Merged
szymonos merged 1 commit into
mainfrom
feat/humio
Jun 14, 2026
Merged

feat(sh): install_humioctl#242
szymonos merged 1 commit into
mainfrom
feat/humio

Conversation

@szymonos

@szymonos szymonos commented Apr 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add .assets/provision/install_humioctl.sh to install humio/cli (humioctl) from upstream GitHub releases, idempotent on re-run.
  • Register humioctl in .assets/scripts/linux_setup.sh (Linux host entry point) and in the WSL orchestration scripts wsl/wsl_install.ps1 / wsl/wsl_setup.ps1 so it can be selected like any other tool.

Test plan

  • make lint-diff - all applicable pre-commit hooks green (shellcheck, shfmt, bats)
  • On a Linux/WSL host: sudo .assets/provision/install_humioctl.sh installs the latest release; re-running prints humioctl vX.Y.Z is already latest and exits 0
  • humioctl --version reports the installed version

🤖 Generated with Claude Code

Copilot AI left a comment

Copy link
Copy Markdown

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 adds humioctl to the existing Kubernetes “dev tools” installation scope so that both WSL-based and native Linux setup flows install the Humio CLI alongside the other k8s developer utilities.

Changes:

  • Add a new provisioner script to install humioctl from GitHub releases.
  • Wire humioctl installation into the k8s_dev scope for Linux setup and WSL setup.
  • Update WSL scope documentation text to include humioctl.

Reviewed changes

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

File Description
wsl/wsl_setup.ps1 Adds humioctl to the k8s_dev WSL provisioning sequence and updates scope help text.
wsl/wsl_install.ps1 Updates scope help text to include humioctl in k8s_dev.
.assets/scripts/linux_setup.sh Installs humioctl when the k8s_dev scope is selected on Linux.
.assets/provision/install_humioctl.sh New installer script that downloads and installs the humioctl binary from GitHub releases.

Comment thread .assets/provision/install_humioctl.sh
Comment thread .assets/provision/install_humioctl.sh
Comment thread .assets/provision/install_humioctl.sh
@szymonos
szymonos merged commit 46e797c into main Jun 14, 2026
3 checks passed
@szymonos
szymonos deleted the feat/humio branch June 14, 2026 13:46
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.

2 participants