Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send subctl version updates to krew-index #874

Merged
merged 1 commit into from
Dec 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@ jobs:
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
GITHUB_JOB_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}/jobs/${{ github.job }}
run: make do-release

- name: Update new version in krew-index
uses: rajatjindal/[email protected]
91 changes: 91 additions & 0 deletions .krew.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# This template is generated by krew-release-bot-helper
# https://rajatjindal.com/tools/krew-release-bot-helper/

apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: subm
spec:
version: "{{ .TagName }}"
homepage: https://github.com/submariner-io/subctl
shortDescription: "Manages Submariner and its services"
description: |
CLI to install, uninstall and troubleshoot Submariner on a Kubernetes cluster.
platforms:
- selector:
matchLabels:
os: linux
arch: amd64
{{addURIAndSha "https://github.com/submariner-io/releases/releases/download/{{ .TagName }}/subctl-{{ .TagName }}-linux-amd64.tar.gz" .TagName | indent 6 }}
files:
- from: subctl*/subctl
to: .
- from: LICENSE
to: .
bin: subctl
- selector:
matchLabels:
os: linux
arch: arm64
{{addURIAndSha "https://github.com/submariner-io/releases/releases/download/{{ .TagName }}/subctl-{{ .TagName }}-linux-arm64.tar.gz" .TagName | indent 6 }}
files:
- from: subctl*/subctl
to: .
- from: LICENSE
to: .
bin: subctl
- selector:
matchLabels:
os: linux
arch: arm
{{addURIAndSha "https://github.com/submariner-io/releases/releases/download/{{ .TagName }}/subctl-{{ .TagName }}-linux-arm.tar.gz" .TagName | indent 6 }}
files:
- from: subctl*/subctl
to: .
- from: LICENSE
to: .
bin: subctl
- selector:
matchLabels:
os: linux
arch: ppc64le
{{addURIAndSha "https://github.com/submariner-io/releases/releases/download/{{ .TagName }}/subctl-{{ .TagName }}-linux-ppc64le.tar.gz" .TagName | indent 6 }}
files:
- from: subctl*/subctl
to: .
- from: LICENSE
to: .
bin: subctl
- selector:
matchLabels:
os: windows
arch: amd64
{{addURIAndSha "https://github.com/submariner-io/releases/releases/download/{{ .TagName }}/subctl-{{ .TagName }}-windows-amd64.exe.tar.gz" .TagName | indent 6 }}
files:
- from: subctl*/subctl
to: .
- from: LICENSE
to: .
bin: subctl
- selector:
matchLabels:
os: darwin
arch: amd64
{{addURIAndSha "https://github.com/submariner-io/releases/releases/download/{{ .TagName }}/subctl-{{ .TagName }}-darwin-amd64.tar.gz" .TagName | indent 6 }}
files:
- from: subctl*/subctl
to: .
- from: LICENSE
to: .
bin: subctl
- selector:
matchLabels:
os: darwin
arch: arm64
{{addURIAndSha "https://github.com/submariner-io/releases/releases/download/{{ .TagName }}/subctl-{{ .TagName }}-darwin-arm64.tar.gz" .TagName | indent 6 }}
files:
- from: subctl*/subctl
to: .
- from: LICENSE
to: .
bin: subctl
1 change: 1 addition & 0 deletions .yamllint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ rules:

ignore: |
/projects
.krew.yaml
Loading