diff --git a/projects/k3d.io/package.yml b/projects/k3d.io/package.yml new file mode 100644 index 00000000..f130ee61 --- /dev/null +++ b/projects/k3d.io/package.yml @@ -0,0 +1,20 @@ +distributable: + url: https://github.com/k3d-io/k3d/archive/refs/tags/v{{ version }}.tar.gz + strip-components: 1 + +versions: + github: k3d-io/k3d/releases/tags + +build: + dependencies: + go.dev: ^1.18 + tea.xyz/gx/make: "*" + script: | + make build BINDIR={{ prefix }}/bin GIT_TAG_OVERRIDE={{ version }} + +provides: + - bin/k3d + +test: | + k3d --version | grep {{ version }} + echo $(k3d cluster get 6d6de430dbd8080d690758a4b5d57c86 2>&1 || true) | grep "No nodes found for given cluster"