2023-05-26 01:33:22 +03:00
|
|
|
distributable:
|
|
|
|
url: https://github.com/kubernetes-sigs/kind/archive/refs/tags/v{{version}}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
|
|
|
github: kubernetes-sigs/kind
|
|
|
|
|
|
|
|
build:
|
2024-02-03 00:01:22 +03:00
|
|
|
script:
|
|
|
|
- go mod download
|
|
|
|
- go build $GOFLAGS -o {{prefix}}/bin/kind ./cmd/kind
|
2023-05-26 01:33:22 +03:00
|
|
|
dependencies:
|
|
|
|
go.dev: ^1.18
|
2024-02-03 00:01:22 +03:00
|
|
|
env:
|
|
|
|
linux:
|
|
|
|
GOFLAGS: -buildmode=pie
|
2023-05-26 01:33:22 +03:00
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/kind
|
|
|
|
|
2024-02-03 00:01:22 +03:00
|
|
|
test:
|
|
|
|
- kind --help
|
|
|
|
- kind version
|
|
|
|
- kind version | grep "kind v{{version}}"
|