remove krew automation

github actions is pretty flawed in several ways, and it's missing
features which would make it usable for us.

we want to trigger our krew automation when a new stable release of our
latest supported cert-manager release is published. github has all this
information, but it's not easy to _use_ that information when triggering
a github action.

we also only want to trigger the action on the main repo and not on
forks.

if we end up having to write custom code to do this, we might as well
add that code into cmrel and not have to deal with the flaws in gh
actions.

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
This commit is contained in:
Ashley Davis 2021-08-24 11:24:52 +01:00
parent e5cc0be04b
commit b2f7aa57ea
No known key found for this signature in database
GPG Key ID: DD14CC017E32BEB1

View File

@ -1,15 +0,0 @@
name: release
on:
push:
tags:
# this will trigger on "v2.0.0" but not on "v2.0.0-beta.0" or "v2.0.0-alpha.1"
- "v[0-9]+.[0-9]+.[0-9]+"
jobs:
krewrelease:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Update with new version in krew-index
# v0.0.40, referenced by hash
uses: rajatjindal/krew-release-bot@56925b62bacc2c652114d66a8256faaf0bf89fa9