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}}"