k3s-io / kine

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

Golang and Alpine image bumps #174

Closed macedogm closed 1 year ago

macedogm commented 1 year ago

This PR does:

  1. Bump Golang and Alpine image versions to golang:1.20-alpine3.17 following PR https://github.com/k3s-io/kine/pull/164.
  2. Fixes a CI script failure (see failed pipeline) due to an update to Busybox's version. Part of the fix comes from https://github.com/k3s-io/k3s/pull/6744.
    1. This fix requires to add the package findutils to Dockerfile.test.dapper in order for find to support printf).
      1. Re-ordered alphabetically the packages installed by apk.
    2. Also re-ordered the parameters -mindepth 2 -maxdepth 2 -type d to make them work as expected and avoid failure:
      find: warning: you have specified the global option -mindepth after the argument -type, but global options are not positional, i.e., -mindepth affects tests specified before it as well as those specified after it.  Please specify global options before other arguments.
      find: warning: you have specified the global option -maxdepth after the argument -type, but global options are not positional, i.e., -maxdepth affects tests specified before it as well as those specified after it.  Please specify global options before other arguments.
macedogm commented 1 year ago

@brandond CC