dist: release the hub server for Linux x86_64 on PostgreSQL e15409084ed6
scripts/dist.sh also builds oxygenhub-server-VERSION-linux-x86_64.tar.gz: the hub built with --features postgres for glibc 2.28, with LICENSE, docs/postgres.md and docs/deploy.md, in SHA256SUMS beside oh's files. The Flow dist job keeps it as an artifact named by its receipt, so the GCP image job (oxygenhub-gcp phase 6, a baked image per decision 0005) installs a server Flow built. Earth and small hubs still build their own SQLite one. Closes #242
- Author
- Andy McCall @andymccall <[email protected]>
- via
- agent
Claude Code <[email protected]> · delegate for changes, until 2026-11-13 19:00Z · key ea5f78160088
- When
- · 2026-10-16 15:55 UTC
- Signature
- ✔ signed by Claude Code
- Hash
e15409084ed6de68f460f830d74c15458dcee9ab20a6c8dd39145d04a895d54e- Depends on
- 380996db84e5 913e5ad27b17 99ca93d60bca
- Depended on by
- 93f445fa50d8
- In bookmarks
- api-unknown-fields cancel-landed-runs diffusion-pin-bookmark draft-ready main oh-comment-body-file proposal-list-fast
- In tags
- v0.6.0 v0.6.1 v0.7.0 v0.8.0 v0.9.0 v0.9.1 v0.9.11 v0.9.15 v0.9.16 v0.9.19 v0.9.2 v0.9.20 v0.9.21 v0.9.22 v0.9.23 v0.9.24 v0.9.3 v0.9.4 v0.9.5 v0.9.6 v0.9.7 v0.9.8 v0.9.9
- Edits
- 4 atoms, 0 tree operations, 2 files
Browse the tree at this change
modified .flow/pipeline.kdl +3 −0
| … | 122 unchanged lines |
||
| 123 | 123 | artifact "oh_amd64.deb" { |
|
| 124 | 124 | path "/src/target/dist-flat/oh_amd64.deb" |
|
| 125 | 125 | } |
|
| 126 | + | artifact "oxygenhub-server-linux-x86_64.tar.gz" { |
|
| 127 | + | path "/src/target/dist-flat/oxygenhub-server-linux-x86_64.tar.gz" |
|
| 128 | + | } |
|
| 126 | 129 | artifact "oh_arm64.deb" { |
|
| 127 | 130 | path "/src/target/dist-flat/oh_arm64.deb" |
|
| 128 | 131 | } |
|
| … | 8 unchanged lines |
modified scripts/dist.sh +16 −1
| … | 2 unchanged lines |
||
| 3 | 3 | # Linux x86_64 and arm64 (glibc 2.28 and later): .tar.gz and .deb |
|
| 4 | 4 | # macOS x86_64 and arm64: .tar.gz |
|
| 5 | 5 | # Windows x86_64: .zip |
|
| 6 | - | # plus SHA256SUMS, in target/dist/VERSION. |
|
| 6 | + | # plus the hub server for Linux x86_64 on PostgreSQL (oxygenhub-server-*), |
|
| 7 | + | # and SHA256SUMS, in target/dist/VERSION. |
|
| 7 | 8 | # |
|
| 8 | 9 | # scripts/dist.sh [VERSION] (default: the package version) |
|
| 9 | 10 | # ONLY=linux-x86_64 scripts/dist.sh builds one platform (a glob) |
|
| … | 116 unchanged lines |
||
| 126 | 127 | fi |
|
| 127 | 128 | done |
|
| 128 | 129 | ||
| 130 | + | # The hub server for oxygenhub.io on Google Cloud (oxygenhub-gcp's image |
|
| 131 | + | # job, phase 6): Linux x86_64, PostgreSQL (docs/postgres.md), glibc 2.28. |
|
| 132 | + | # Earth and small hubs build their own SQLite one (docs/deploy.md). |
|
| 133 | + | if [ -z "${ONLY:-}" ] || [[ server-linux-x86_64 == $ONLY ]]; then |
|
| 134 | + | echo "== server-linux-x86_64 (postgres)" |
|
| 135 | + | cargo zigbuild -q --release --locked --target x86_64-unknown-linux-gnu.2.28 -p oxygenhub --bin oxygenhub --features postgres |
|
| 136 | + | name="oxygenhub-server-$VERSION-linux-x86_64" |
|
| 137 | + | stage="$OUT/stage/$name" |
|
| 138 | + | mkdir -p "$stage" |
|
| 139 | + | cp target/x86_64-unknown-linux-gnu/release/oxygenhub "$stage/" |
|
| 140 | + | cp LICENSE docs/postgres.md docs/deploy.md "$stage/" |
|
| 141 | + | tar -C "$OUT/stage" -czf "$OUT/$name.tar.gz" "$name" |
|
| 142 | + | fi |
|
| 143 | + | ||
| 129 | 144 | rm -rf "$OUT/stage" |
|
| 130 | 145 | (cd "$OUT" && shopt -s nullglob && sha256sum -- *.tar.gz *.zip *.deb >SHA256SUMS) |
|
| 131 | 146 | # DIST_FLAT=DIR: the same files again under names without the version, for |
|
| … | 12 unchanged lines |