Add GreptimeDB Alpine service packaging
All checks were successful
Build Alpine Packages / build-and-publish (push) Successful in 35m5s
All checks were successful
Build Alpine Packages / build-and-publish (push) Successful in 35m5s
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
# GreptimeDB Alpine Package
|
||||
|
||||
This package builds `greptime` from the upstream GreptimeDB source release.
|
||||
This package builds `greptime` from the upstream GreptimeDB source release and packages OpenRC service subpackages plus default `/etc/greptimedb` configuration.
|
||||
|
||||
The APKBUILD builds the release directly:
|
||||
|
||||
```sh
|
||||
cargo build --release --locked --bin greptime --features servers/dashboard
|
||||
cargo build --profile nightly --locked --bin greptime --features servers/dashboard
|
||||
```
|
||||
|
||||
## Package Commands
|
||||
@@ -22,11 +22,21 @@ Build only this package:
|
||||
ALPINE_PACKAGE=greptimedb mise run apk:build
|
||||
```
|
||||
|
||||
Install-test an existing build without recompiling:
|
||||
Install-test an existing local build without recompiling:
|
||||
|
||||
```sh
|
||||
ALPINE_PACKAGE=greptimedb SKIP_BUILD=1 mise run apk:test-install
|
||||
```
|
||||
|
||||
Install-test from a published Gitea Alpine repository:
|
||||
|
||||
```sh
|
||||
ALPINE_PACKAGE=greptimedb \
|
||||
SKIP_BUILD=1 \
|
||||
ALPINE_REPOSITORY_URL=https://code.factoring.digital/api/packages/public/alpine/v3.23/alpine-packages \
|
||||
ALPINE_REPOSITORY_KEY_URL=https://code.factoring.digital/api/packages/public/alpine/key \
|
||||
mise run apk:test-install
|
||||
```
|
||||
|
||||
The full build can take close to an hour. Do not run it as part of lightweight
|
||||
metadata or script checks.
|
||||
|
||||
Reference in New Issue
Block a user