mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
new file: projects/github.com/k0sproject/k0sctl/package.yml
This commit is contained in:
parent
fc873ca6cf
commit
cd3fe49eee
20
projects/github.com/k0sproject/k0sctl/package.yml
Normal file
20
projects/github.com/k0sproject/k0sctl/package.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
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'
|
Loading…
Reference in a new issue