mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
20 lines
434 B
YAML
20 lines
434 B
YAML
distributable:
|
|
url: https://github.com/k0sproject/k0sctl/archive/refs/tags/{{version.tag}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: k0sproject/k0sctl
|
|
|
|
build:
|
|
dependencies:
|
|
go.dev: ^1.21
|
|
script:
|
|
- make k0sctl TAG_NAME={{version.tag}}
|
|
- install -D k0sctl {{prefix}}/bin/k0sctl
|
|
|
|
provides:
|
|
- bin/k0sctl
|
|
|
|
test:
|
|
- k0sctl version 2>&1 | grep {{version}}
|
|
- k0sctl init root@10.0.0.1 2>&1 | grep 'k0s-cluster'
|