A container aimed at easing ci workflows in the kubernetes jsonnet ecosystem. It includes commonly used tools and automatically sets up dependencies for a targeted kubernetes version. No need for tanka just to setup k.libsonnet!
K8S_VERSION
: targeted kubernetes/k8s-libsonnet version, defaults to 1.21 if unsetNO_DOCSONNET
: if set, will not put doc-util on the jpath
go-jsonnet@v0.18.0
: Providesjsonnet
,jsonnetfmt
, andjsonnet-lint
, the main toolsjsonnet-bundler@v0.4.0
: Providesjb
, a jsonnet package managerdocsonnet@v0.0.3
: Providesdocsonnet
, a jsonnet documentation generator
jsonnet-libs/k8s-libsonnet@f8efa81
: Includes variants for kubernetes versions 1.18-1.23. Use environment variableK8S_VERSION
to select a variant (default 1.21). The selected variant will be put on the jpath ask.libsonnet
to be used directly or indirectly via a library like kausal.libsonnetdocsonnet/doc-util@v0.0.3
: Allows evaluating docsonnet document keys outside of the docsonnet executable
Most or all individual tests can be run outside github actions as well, by simply mounting the folder containing the test into the locally built container and passing the path to the test as an argument during docker run
. This allows for quicker iteration during development when only one or two tests fail.