Update SeaweedFS and add outdated checks
Build Alpine Packages / build-and-publish (v3.24, 3.24) (push) Has been cancelled
Build Alpine Packages / build-and-publish (v3.24, 3.24) (push) Has been cancelled
This commit is contained in:
@@ -17,12 +17,12 @@ https://code.factoring.digital/api/packages/public/alpine/v3.24/alpine-packages
|
||||
|
||||
## Available Packages
|
||||
|
||||
| Package | APK name | Package type | Purpose |
|
||||
| --- | --- | --- | --- |
|
||||
| [SeaweedFS](packaging/alpine/local/seaweedfs/README.md) | `seaweedfs` | Binary repackaging of official upstream release tarballs | Ships current SeaweedFS features with Alpine OpenRC role splits. |
|
||||
| [GreptimeDB](packaging/alpine/local/greptimedb/README.md) | `greptimedb` | Source build from upstream release | Provides a current GreptimeDB build and component OpenRC packages before it is available from Alpine community. |
|
||||
| [LavinMQ](packaging/alpine/local/lavinmq/README.md) | `lavinmq` | Source build from upstream release | Provides a current LavinMQ build on Alpine 3.24 with matching Crystal support. |
|
||||
| [Gitea](packaging/alpine/local/gitea/README.md) | `gitea` | Binary repackaging of official upstream release binaries | Ships current Gitea releases with the expected Alpine runtime layout and OpenRC service. |
|
||||
| Package | APK Name | Package Version | Package Type | Purpose |
|
||||
|-----------------------------------------------------------|--------------|-----------------|----------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------|
|
||||
| [SeaweedFS](packaging/alpine/local/seaweedfs/README.md) | `seaweedfs` | `4.39` | Binary repackaging of official upstream release tarballs | Ships current SeaweedFS features with Alpine OpenRC role splits. |
|
||||
| [GreptimeDB](packaging/alpine/local/greptimedb/README.md) | `greptimedb` | `1.1.2` | Source build from upstream release | Provides a current GreptimeDB build and component OpenRC packages before it is available from Alpine community. |
|
||||
| [LavinMQ](packaging/alpine/local/lavinmq/README.md) | `lavinmq` | `2.9.1` | Source build from upstream release | Provides a current LavinMQ build on Alpine 3.24 with matching Crystal support. |
|
||||
| [Gitea](packaging/alpine/local/gitea/README.md) | `gitea` | `1.26.4` | Binary repackaging of official upstream release binaries | Ships current Gitea releases with the expected Alpine runtime layout and OpenRC service. |
|
||||
|
||||
## Use In Production
|
||||
|
||||
@@ -61,15 +61,6 @@ Package sources live under:
|
||||
packaging/alpine/local/<pkgname>/
|
||||
```
|
||||
|
||||
Currently packaged:
|
||||
|
||||
```text
|
||||
seaweedfs SeaweedFS 4.31 binary repackaging and OpenRC role splits
|
||||
greptimedb GreptimeDB 1.1.2 source build for x86_64
|
||||
lavinmq LavinMQ 2.9.1 source build for x86_64
|
||||
gitea Gitea 1.26.4 binary repackaging and OpenRC service
|
||||
```
|
||||
|
||||
Local build output is written under:
|
||||
|
||||
```text
|
||||
@@ -100,10 +91,11 @@ apk:lint Run Alpine APKBUILD lint in Docker
|
||||
apk:packages List built Alpine packages and dependencies
|
||||
apk:publish-check Run lint, multi-arch build, package listing, and smoke test
|
||||
apk:publish-gitea Publish built packages to the Gitea Alpine package registry
|
||||
apk:outdated Check packaged upstream versions against latest GitHub releases
|
||||
apk:shell Open an Alpine package build shell in Docker
|
||||
apk:smoke Install-test built packages from the local repository in Docker
|
||||
apk:test-install Test README installation instructions in a fresh Alpine container
|
||||
apk:test-shell Open an Alpine shell with the current local package build installed
|
||||
apk:test-shell Open an Alpine shell with the local APK repository configured
|
||||
apk:update-generated Refresh packaged upstream examples and shell completions
|
||||
apk:runtime-test Run package-local Docker runtime tests against the local...
|
||||
gitea-workflow-build Run the Gitea build workflow locally through act as a pull_request event
|
||||
@@ -138,11 +130,10 @@ ALPINE_APK_CACHE_SCOPE=public-alpine-packages ALPINE_PACKAGE=greptimedb mise run
|
||||
ALPINE_APK_CACHE_PREFIX=alpine-apk-ci ALPINE_PACKAGE=greptimedb mise run apk:build
|
||||
```
|
||||
|
||||
Open an Alpine test shell:
|
||||
Open an Alpine package build shell:
|
||||
|
||||
```sh
|
||||
ALPINE_PACKAGE=seaweedfs mise run apk:shell
|
||||
mise run apk:test-shell
|
||||
```
|
||||
|
||||
Run the install test:
|
||||
@@ -158,6 +149,17 @@ SKIP_BUILD=1 mise run apk:test-install
|
||||
SKIP_BUILD=1 mise run apk:test-shell
|
||||
```
|
||||
|
||||
`apk:test-shell` opens an Alpine shell with the local APK repository configured.
|
||||
Install whichever built packages you want inside the container:
|
||||
|
||||
```sh
|
||||
apk add seaweedfs seaweedfs-master-openrc
|
||||
weed version
|
||||
|
||||
apk add greptimedb greptimedb-docs greptimedb-standalone-openrc
|
||||
greptime --version
|
||||
```
|
||||
|
||||
Run package-local runtime tests:
|
||||
|
||||
```sh
|
||||
@@ -205,6 +207,22 @@ ALPINE_PACKAGE=seaweedfs mise run apk:update-generated
|
||||
mise run apk:checksum
|
||||
```
|
||||
|
||||
### Upstream Update Visibility
|
||||
|
||||
Check whether packaged upstream versions are current:
|
||||
|
||||
```sh
|
||||
mise run apk:outdated
|
||||
ALPINE_PACKAGE=seaweedfs mise run apk:outdated
|
||||
```
|
||||
|
||||
By default this is a warning-only signal. To make outdated or unknown package
|
||||
versions fail the command:
|
||||
|
||||
```sh
|
||||
APK_UPDATE_CHECK_MODE=fail mise run apk:outdated
|
||||
```
|
||||
|
||||
### Gitea Workflow
|
||||
|
||||
`.gitea/workflows/build.yml` builds and publishes `v3.24`. Pull requests
|
||||
@@ -257,6 +275,7 @@ Then test at least one installed role in the package shell:
|
||||
|
||||
```sh
|
||||
mise run apk:test-shell
|
||||
apk add seaweedfs seaweedfs-master-openrc
|
||||
rc-service seaweedfs.master start
|
||||
weed version
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user