build greptimedb dashboard from source
This commit is contained in:
@@ -1,14 +1,22 @@
|
||||
# GreptimeDB Alpine Package
|
||||
|
||||
Builds `greptime` from the upstream source release and packages OpenRC service
|
||||
subpackages plus `/etc/greptimedb` defaults.
|
||||
Builds `greptime` and its embedded dashboard from their upstream source
|
||||
releases, and packages OpenRC service subpackages plus `/etc/greptimedb`
|
||||
defaults.
|
||||
|
||||
Build command:
|
||||
|
||||
```sh
|
||||
cargo build --profile nightly --locked --bin greptime --features servers/dashboard
|
||||
cargo auditable build --profile nightly --frozen --locked --bin greptime --features servers/dashboard
|
||||
```
|
||||
|
||||
GreptimeDB requires the nightly pinned in its source release
|
||||
(`nightly-2026-03-21`). The package uses Rustup to install that toolchain and
|
||||
uses locked Cargo and pnpm dependency resolution, so `options="net"` is
|
||||
intentional. Cargo dependencies are fetched before compilation; the Rust build
|
||||
then runs frozen. The dashboard is built from the matching `v0.12.0` source tag
|
||||
with its checked-in `pnpm-lock.yaml`.
|
||||
|
||||
## Runtime Layout
|
||||
|
||||
Installs `/usr/bin/greptime` and component OpenRC packages:
|
||||
@@ -92,4 +100,4 @@ ALPINE_REPOSITORY_KEY_URL=https://code.factoring.digital/api/packages/public/alp
|
||||
mise run apk:test-install
|
||||
```
|
||||
|
||||
Full builds take close to an hour.
|
||||
Full builds and the targeted upstream Nextest check take close to an hour.
|
||||
|
||||
Reference in New Issue
Block a user