Skip to content

devops-tools

Version 2026.162.1430
Repo superproject

provisions cloud and infra CLI tooling (AWS CLI v2, Scaleway CLI, OpenTofu, kubectx/kubens) plus JSON/sync/DNS utilities Installs the AWS CLI v2, the Scaleway CLI, OpenTofu, and the kubectx/kubens kubectl context switchers as standalone binaries under /usr/local/bin, alongside jq, rsync, unzip, and the per-distro DNS lookup tools (dig). Every tool lands at a fixed path and reports its version, so the composition is verifiable in a disposable container without any cloud account or live cluster.

Installed on every distro:

  • jq
  • rsync
  • unzip

This candy’s plan: — the runnable spec charly check executes against a live deployment. check: steps are idempotent probes; run: steps change state.

Intent Step
run command=curl -fsSL “https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip” -o /tmp/awscliv2.zip cd /tmp && unzip -q awscliv2.zip ./aws/install rm -rf /tmp/awscliv2.zip /tmp/aws
run command=SCW_URL=$(curl -fsSL https://api.github.com/repos/scaleway/scaleway-cli/releases/latest | grep “browser_download_url.*linux_amd64"” | grep -v “.sha256” | cut -d’“’ -f4) [ -z “$SCW_URL” ] && SCW_URL=“https://github.com/scaleway/scaleway-cli/releases/download/v2.45.0/scaleway-cli_2.45.0_linux_amd64” curl -fsSL “$SCW_URL” -o /usr/local/bin/scw chmod +x /usr/local/bin/scw
run command=curl -fsSL “https://raw.githubusercontent.com/ahmetb/kubectx/master/kubectx” -o /usr/local/bin/kubectx curl -fsSL “https://raw.githubusercontent.com/ahmetb/kubectx/master/kubens” -o /usr/local/bin/kubens chmod +x /usr/local/bin/kubectx /usr/local/bin/kubens
run command=curl -fsSL “https://get.opentofu.org/install-opentofu.sh” -o /tmp/install-opentofu.sh chmod +x /tmp/install-opentofu.sh bash /tmp/install-opentofu.sh –install-method standalone rm -f /tmp/install-opentofu.sh
check the AWS CLI v2 binary is installed at /usr/local/bin/aws
check aws reports its own version string
check the Scaleway CLI binary is installed at /usr/local/bin/scw
check OpenTofu is installed and reports its version
check the kubectx kubectl-context switcher script is installed
check the kubens kubectl-namespace switcher script is installed
check jq is installed and reports its version
check the dig DNS lookup tool resolves on PATH from the per-distro bind package
check file=/usr/local/bin/tofu
check file=/usr/bin/jq
check command=/usr/local/bin/scw version