Commit 6382c53
fix(securebuild): install schemahero rqlite plugin in the migrations image
schemahero 0.25 loads the rqlite driver as a go-plugin binary. When it
isn't found in a local search path, schemahero falls back to downloading
the plugin from an OCI registry, which hangs in the no-network
schemahero-apply init container and left kotsadm stuck in Init, failing
the e2e suite.
The schemahero-0.25-rqlite apk installs the plugin to
/var/lib/schemahero/plugins/schemahero-rqlite (a default search path), but
declaring it only as a melange subpackage runtime dep didn't reliably land
it in the image. Install it explicitly in the apko image packages and set
SCHEMAHERO_PLUGIN_PATH so discovery always finds the bundled plugin and
never attempts a download.
Reproduced locally with the schemahero 0.25.1 CLI + rqlite plugin: with the
plugin absent it attempts a download; with it present at the search path,
plan and apply both run against rqlite and create all 24 tables with no
download.
Also reverts a stale, unrelated change to release.yaml that had undone the
!cancelled() job guards added on main.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 4724ccc commit 6382c53
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
8 | 14 | | |
9 | 15 | | |
10 | 16 | | |
11 | 17 | | |
12 | 18 | | |
13 | 19 | | |
14 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
15 | 26 | | |
16 | 27 | | |
17 | 28 | | |
| |||
0 commit comments