Skip to content

Commit

Permalink
Add make target to manually verify kubectl plugin installation
Browse files Browse the repository at this point in the history
  • Loading branch information
mumoshu committed Oct 9, 2020
1 parent b4f4c01 commit 500fa1f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .krew-release-bot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ spec:
matchLabels:
os: windows
arch: amd64
{{addURIAndSha "https://github.com/mumoshu/kubeconf/releases/download/{{ .TagName }}/kubeconf_{{ .TagName }}_windows_amd64.tar.gz" .TagName }}
{{addURIAndSha "https://github.com/mumoshu/kubeconf/releases/download/{{ .TagName }}/kubeconf_{{ .TagName }}_windows_amd64.zip" .TagName }}
bin: kubeconf
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ test/release: goreleaser
.PHONY: test/krew
test/krew:
docker run -v $(PWD)/.krew-release-bot.yaml:/tmp/template-file.yaml rajatjindal/krew-release-bot:v0.0.38 \
krew-release-bot template --tag v0.1.1 --template-file /tmp/template-file.yaml
krew-release-bot template --tag v0.1.3 --template-file /tmp/template-file.yaml > .krew.yaml

.PHONY: test/krew-install
test/krew-install: test/krew
kubectl krew install --manifest=.krew.yaml

.PHONY: test/go
test/go:
Expand Down

0 comments on commit 500fa1f

Please sign in to comment.