From 6f80fa8dfce6d55effcc2fe78b3c36d07fba7977 Mon Sep 17 00:00:00 2001 From: Tobias Date: Mon, 16 Oct 2023 22:09:54 +0200 Subject: [PATCH] +pluto -- A cli tool to help discover deprecated apiVersions in Kubernetes --- projects/fairwinds.com/pluto/package.yml | 26 ++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 projects/fairwinds.com/pluto/package.yml diff --git a/projects/fairwinds.com/pluto/package.yml b/projects/fairwinds.com/pluto/package.yml new file mode 100644 index 00000000..f610324c --- /dev/null +++ b/projects/fairwinds.com/pluto/package.yml @@ -0,0 +1,26 @@ +# https://pluto.docs.fairwinds.com/ + +distributable: + url: git+https://github.com/FairwindsOps/pluto + ref: v{{version}} + +versions: + github: FairwindsOps/pluto + strip: /^v/ + +build: + dependencies: + go.dev: ^1.21 + gnu.org/make: "*" + git-scm.org: "*" + script: | + make build VERSION=v{{version}} + mkdir -p "{{ prefix }}"/bin + mv pluto "{{ prefix }}"/bin + +provides: + - bin/pluto + +test: + script: | + pluto version | grep "Version:v{{version}}"