2023-03-15 10:19:27 +03:00
|
|
|
distributable:
|
2024-03-11 21:24:54 +03:00
|
|
|
url: git+https://github.com/ahmetb/kubectx.git
|
|
|
|
ref: ${{version.tag}}
|
2023-03-15 10:19:27 +03:00
|
|
|
|
|
|
|
versions:
|
|
|
|
github: ahmetb/kubectx
|
2024-03-11 21:24:54 +03:00
|
|
|
ignore: /^v?0\.[0-8](\.|$)/ # prior to 0.9 kubectx was a bash script
|
2023-03-15 10:19:27 +03:00
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/kubectx
|
|
|
|
- bin/kubens
|
|
|
|
|
|
|
|
dependencies:
|
2024-03-11 21:24:54 +03:00
|
|
|
github.com/junegunn/fzf: '*'
|
2023-03-15 10:19:27 +03:00
|
|
|
|
|
|
|
build:
|
2024-03-11 21:24:54 +03:00
|
|
|
dependencies:
|
|
|
|
go.dev: ^1.20
|
|
|
|
env:
|
|
|
|
CGO_ENABLED: '0'
|
|
|
|
script:
|
|
|
|
- go build -o '{{ prefix }}/bin/kubectx' ./cmd/kubectx
|
|
|
|
- go build -o '{{ prefix }}/bin/kubens' ./cmd/kubens
|
2023-03-15 10:19:27 +03:00
|
|
|
|
|
|
|
test:
|
2024-03-11 21:24:54 +03:00
|
|
|
- kubectx --help
|
|
|
|
- kubens --help
|