Add Alpine package test shell
This commit is contained in:
@@ -15,6 +15,7 @@ mise run apk:checksum
|
||||
mise run apk:lint
|
||||
mise run apk:packages
|
||||
mise run apk:smoke
|
||||
mise run apk:test-shell
|
||||
mise run apk:publish-check
|
||||
mise run apk:shell
|
||||
mise run apk:clean
|
||||
@@ -53,11 +54,16 @@ cached in `.cache/abuild/` and `.cache/apk-distfiles/`.
|
||||
|
||||
```sh
|
||||
mise run apk:smoke
|
||||
mise run apk:test-shell
|
||||
mise run apk:publish-check
|
||||
```
|
||||
|
||||
`apk:publish-check` runs APKBUILD linting, rebuilds configured architectures,
|
||||
lists package metadata, and installs the built packages in an Alpine container.
|
||||
`apk:test-shell` builds the selected architecture, installs the local package
|
||||
set in an Alpine container, and opens a shell. Use `SKIP_BUILD=1` to reuse an
|
||||
existing local repository. Set `TEST_SHELL_TIMEOUT` to adjust the timeout for
|
||||
`apk update` and `apk add` inside the test container.
|
||||
|
||||
Install from the local repo with the base package plus the role-specific OpenRC
|
||||
subpackage you need:
|
||||
|
||||
Reference in New Issue
Block a user