-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add krew-release-bot for automated krew index updates
Signed-off-by: Niladri Halder <[email protected]>
- Loading branch information
Showing
3 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,5 @@ jobs: | |
./scripts/github/release-artifacts.sh --tag "${{ github.event.release.tag_name }}" --repo-org "${{ github.repository_owner }}" --upload "$repos" upload | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.ORG_CI_GITHUB }} | ||
- name: Update krew index | ||
uses: rajatjindal/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
apiVersion: krew.googlecontainertools.github.com/v1alpha2 | ||
kind: Plugin | ||
metadata: | ||
name: mayastor | ||
spec: | ||
version: {{ .TagName }} | ||
homepage: https://openebs.io/docs/ | ||
shortDescription: Provides commands for OpenEBS Mayastor. | ||
description: | | ||
This plugin allows you to manage Mayastor volumes and upgrades. | ||
platforms: | ||
- selector: | ||
matchLabels: | ||
os: darwin | ||
arch: amd64 | ||
{{addURIAndSha "https://github.com/openebs/mayastor-extensions/releases/download/{{ .TagName }}/kubectl-mayastor-x86_64-apple-darwin.tar.gz" .TagName }} | ||
bin: kubectl-mayastor | ||
- selector: | ||
matchLabels: | ||
os: darwin | ||
arch: arm64 | ||
{{addURIAndSha "https://github.com/openebs/mayastor-extensions/releases/download/{{ .TagName }}/kubectl-mayastor-aarch64-apple-darwin.tar.gz" .TagName }} | ||
bin: kubectl-mayastor | ||
- selector: | ||
matchLabels: | ||
os: linux | ||
arch: amd64 | ||
{{addURIAndSha "https://github.com/openebs/mayastor-extensions/releases/download/{{ .TagName }}/kubectl-mayastor-x86_64-linux-musl.tar.gz" .TagName }} | ||
bin: kubectl-mayastor | ||
- selector: | ||
matchLabels: | ||
os: linux | ||
arch: arm64 | ||
{{addURIAndSha "https://github.com/openebs/mayastor-extensions/releases/download/{{ .TagName }}/kubectl-mayastor-aarch64-linux-musl.tar.gz" .TagName }} | ||
bin: kubectl-mayastor | ||
- selector: | ||
matchLabels: | ||
os: windows | ||
arch: amd64 | ||
{{addURIAndSha "https://github.com/openebs/mayastor-extensions/releases/download/{{ .TagName }}/kubectl-mayastor-x86_64-windows-gnu.tar.gz" .TagName }} | ||
bin: kubectl-mayastor.exe |