k3s-io / kine

Run Kubernetes on MySQL, Postgres, sqlite, dqlite, not etcd.
Apache License 2.0
1.54k stars 231 forks source link

Lay groundwork for using updatecli #166

Closed matttrach closed 1 year ago

matttrach commented 1 year ago

Add updatecli, have it update the go version on its own workflow, and add the /package dir to dependabot watchlist

matttrach commented 1 year ago

This is the first iteration towards https://github.com/k3s-io/k3s/issues/7040. If we want more on this I can continue on this branch, but this is useful and sets up the structure so I wanted to go ahead and share to get it on people's radar.

matttrach commented 1 year ago

One benefit of this code is that it is useful to any repo we want to use updatecli with and is not specific to the repo, it could be added to any repo looking to use updatecli to setup the directory structure and show a simple example of it in action.

matttrach commented 1 year ago

example of this in action: https://github.com/matttrach/kine/pull/1

matttrach commented 1 year ago

It seems like the Go linter is finding errors in Jetstream, this error doesn't seem to be related to my changes.

macedogm commented 1 year ago

@matttrach thanks for putting this PR. I started to review it and test the updates locally.

macedogm commented 1 year ago

I guess we don't want to re-enable Dependabot updates for Go - https://github.com/k3s-io/kine/pull/161, right?

matttrach commented 1 year ago

The new changes fix issues brought up in the CI, co-authored with @dereknola (really it was all him, I am just pushing it). With this model in place, I will start to introduce opencli to other repos.