From 8da334c5a67e8d47d5dc687d589bc8a67dbfb19b Mon Sep 17 00:00:00 2001 From: Max Anderson Date: Thu, 2 May 2024 13:21:35 -0400 Subject: [PATCH] +kubecm.cloud (#6043) * Added kubecm.cloud * Set CGO_ENABLED=0 * greater idiomatic conformance * hm, why did i think make would check the env... --------- Co-authored-by: Jacob Heider --- projects/kubecm.cloud/package.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 projects/kubecm.cloud/package.yml diff --git a/projects/kubecm.cloud/package.yml b/projects/kubecm.cloud/package.yml new file mode 100644 index 00000000..6c4038d8 --- /dev/null +++ b/projects/kubecm.cloud/package.yml @@ -0,0 +1,21 @@ +distributable: + url: https://github.com/sunny0826/kubecm/archive/refs/tags/{{ version.tag }}.tar.gz + strip-components: 1 + +display-name: kubecm + +versions: + github: sunny0826/kubecm + +build: + dependencies: + go.dev: ^1.22 + script: make build BUILD_TARGET_PKG_DIR="{{ prefix }}/bin" TAG={{ version }} KUBECM_VERSION={{ version }} + env: + CGO_ENABLED: 0 + +provides: + - bin/kubecm + +test: + - kubecm version | grep {{ version }}