From 59c5d75d836d7cd8bf08a13e0f3073fec1c5ae4c Mon Sep 17 00:00:00 2001 From: Tobias Germer Date: Thu, 19 Oct 2023 22:40:34 +0200 Subject: [PATCH] +fluxcd.io/flux2 -- Open and extensible continuous delivery solution for Kubernetes --- projects/fluxcd.io/flux2/package.yml | 29 ++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 projects/fluxcd.io/flux2/package.yml diff --git a/projects/fluxcd.io/flux2/package.yml b/projects/fluxcd.io/flux2/package.yml new file mode 100644 index 00000000..ed430f14 --- /dev/null +++ b/projects/fluxcd.io/flux2/package.yml @@ -0,0 +1,29 @@ +# https://fluxcd.io/ + +distributable: + url: git+https://github.com/fluxcd/flux2 + ref: v{{version}} + +versions: + github: fluxcd/flux2 + strip: /^v/ + +build: + dependencies: + go.dev: ^1.20 + kubernetes.io/kustomize: ^5 + gnu.org/make: "*" + git-scm.org: "*" + script: | + make build VERSION={{version}} + mkdir -p "{{ prefix }}"/bin + mv bin/flux "{{ prefix }}"/bin + +provides: + - bin/flux + +test: + script: | + test "$(flux --version)" = "flux version {{version}}" + flux install --export > flux-system.yml + test -f flux-system.yml