From 5be3ff76a059556f81e7d1402f0a83c34e1267cc Mon Sep 17 00:00:00 2001 From: Zadkiel Aharonian Date: Mon, 9 Oct 2023 22:20:34 +0200 Subject: [PATCH] argoproj.github.io/workflows (#3582) * argoproj.github.io/workflows * Update projects/argoproj.github.io/workflows/package.yml * Update package.yml * Update projects/argoproj.github.io/workflows/package.yml * Update package.yml * Update package.yml * Update package.yml * Update package.yml * fix * fix --- .../argoproj.github.io/workflows/package.yml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 projects/argoproj.github.io/workflows/package.yml diff --git a/projects/argoproj.github.io/workflows/package.yml b/projects/argoproj.github.io/workflows/package.yml new file mode 100644 index 00000000..5072775a --- /dev/null +++ b/projects/argoproj.github.io/workflows/package.yml @@ -0,0 +1,27 @@ +distributable: + url: https://github.com/argoproj/argo-workflows/archive/v{{version}}.tar.gz + strip-components: 1 + +display-name: argo-workflows + +versions: + github: argoproj/argo-workflows + +build: + dependencies: + go.dev: '*' + script: + - make GIT_TAG="v{{version}}" GIT_COMMIT="v{{version}}" RELEASE_TAG=true STATIC_FILES=false GIT_TREE_STATE=clean GOARGS= dist/argo-linux-amd64 + - mkdir -p {{prefix}}/bin + - install dist/argo-linux-amd64 {{prefix}}/bin/argo + env: + LDFLAGS: + - -s + - -w + +provides: + - bin/argo + +test: + script: + - argo version | grep "v{{version}}"