File tree 3 files changed +45
-0
lines changed
3 files changed +45
-0
lines changed Original file line number Diff line number Diff line change 19
19
./scripts/github/release-artifacts.sh --tag "${{ github.event.release.tag_name }}" --repo-org "${{ github.repository_owner }}" --upload "$repos" upload
20
20
env :
21
21
GITHUB_TOKEN : ${{ secrets.ORG_CI_GITHUB }}
22
+ - name : Update krew index
23
+ uses : rajatjindal/krew-release-bot@v0.0.46
Original file line number Diff line number Diff line change 17
17
fail-fast : false
18
18
matrix :
19
19
include :
20
+ # NOTE: Update the .krew.yaml file (if required) when making changes here.
20
21
- os : ubuntu-latest
21
22
target : linux-musl
22
23
arch : x86_64
63
64
nix-build -A utils.release.${{ matrix.arch }}.${{ matrix.target }}.kubectl-plugin --arg incremental false ${{ matrix.system }}
64
65
- name : Archive executable
65
66
run : |
67
+ # NOTE: Update the .krew.yaml file (if required) when making changes here.
66
68
tar -czvf kubectl-mayastor-${{ matrix.arch }}-${{ matrix.target }}.tar.gz LICENSE -C result/bin kubectl-mayastor${{ matrix.suffix }}
67
69
- uses : actions/upload-artifact@v4
68
70
with :
Original file line number Diff line number Diff line change
1
+ apiVersion : krew.googlecontainertools.github.com/v1alpha2
2
+ kind : Plugin
3
+ metadata :
4
+ name : mayastor
5
+ spec :
6
+ version : {{ .TagName }}
7
+ homepage : https://openebs.io/docs/
8
+ shortDescription : Provides commands for OpenEBS Mayastor.
9
+ description : |
10
+ This plugin allows you to manage Mayastor volumes and upgrades.
11
+ platforms :
12
+ - selector :
13
+ matchLabels :
14
+ os : darwin
15
+ arch : amd64
16
+ {{addURIAndSha "https://github.com/openebs/mayastor-extensions/releases/download/{{ .TagName }}/kubectl-mayastor-x86_64-apple-darwin.tar.gz" .TagName }}
17
+ bin : kubectl-mayastor
18
+ - selector :
19
+ matchLabels :
20
+ os : darwin
21
+ arch : arm64
22
+ {{addURIAndSha "https://github.com/openebs/mayastor-extensions/releases/download/{{ .TagName }}/kubectl-mayastor-aarch64-apple-darwin.tar.gz" .TagName }}
23
+ bin : kubectl-mayastor
24
+ - selector :
25
+ matchLabels :
26
+ os : linux
27
+ arch : amd64
28
+ {{addURIAndSha "https://github.com/openebs/mayastor-extensions/releases/download/{{ .TagName }}/kubectl-mayastor-x86_64-linux-musl.tar.gz" .TagName }}
29
+ bin : kubectl-mayastor
30
+ - selector :
31
+ matchLabels :
32
+ os : linux
33
+ arch : arm64
34
+ {{addURIAndSha "https://github.com/openebs/mayastor-extensions/releases/download/{{ .TagName }}/kubectl-mayastor-aarch64-linux-musl.tar.gz" .TagName }}
35
+ bin : kubectl-mayastor
36
+ - selector :
37
+ matchLabels :
38
+ os : windows
39
+ arch : amd64
40
+ {{addURIAndSha "https://github.com/openebs/mayastor-extensions/releases/download/{{ .TagName }}/kubectl-mayastor-x86_64-windows-gnu.tar.gz" .TagName }}
41
+ bin : kubectl-mayastor.exe
You can’t perform that action at this time.
0 commit comments