Skip to content

devops-tools

Version 2026.243.0100
Repo box/github.com/opencharly/layer-devops-tools:v2026.243.0408

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 download the AWS CLI v2 zip (the declarative download verb — content-addressed /tmp/downloads cache, atomic .part to mv rename, stage-user-correct cache mount)
run run the bundled aws install script
run download the scaleway CLI binary (pinned release — the declarative download verb; the previous dynamic latest-API lookup is replaced by the deterministic pinned fallback URL)
run download the kubectx script (the declarative download verb)
run download the kubens script (the declarative download verb)
run download the opentofu installer script (the declarative download verb)
run run the opentofu installer
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