@@ -1,17 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
# Build bare-os-seeder + bare-os-booter for all 64-bit hosts and publish a rolling Gitea release.
|
||||
# Also assembles by-arch deployments and stages them via pear-ci (PEAR_PRIMARY_KEY).
|
||||
# Also assembles by-arch tarballs for operators / offline pear stage.
|
||||
#
|
||||
# Required (unless DRY_RUN=1):
|
||||
# RELEASE_TOKEN — Gitea PAT with repository release write
|
||||
# PEAR_PRIMARY_KEY — 64-char hex (skip pear stage with SKIP_PEAR_STAGE=1)
|
||||
# Optional:
|
||||
# GITEA_URL / GITEA_OWNER / GITEA_REPO
|
||||
# BARE_OS_HOSTS / BARE_OS_SEEDER_HOSTS / BARE_OS_BOOTER_HOSTS
|
||||
# RELEASE_TAG (default: rolling)
|
||||
# SKIP_PEAR_STAGE=1
|
||||
# SKIP_PEAR_STAGE=1 — default in CI; skip pear-ci (stage offline via pear-stage-by-arch.sh)
|
||||
# DRY_RUN=1
|
||||
# COMMIT_SNAPSHOTS=1
|
||||
set -euo pipefail
|
||||
|
||||
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
@@ -120,8 +118,9 @@ for h in "${BHOSTS[@]}"; do
|
||||
if stage_product booter "$h"; then BOOTER_OK=$((BOOTER_OK + 1)); else BOOTER_FAIL=$((BOOTER_FAIL + 1)); fi
|
||||
done
|
||||
|
||||
# --- by-arch + pear-ci ---
|
||||
log "assembling by-arch + pear stage"
|
||||
# --- by-arch tarballs (pear-ci stage/seed is offline — see scripts/pear-stage-by-arch.sh) ---
|
||||
export SKIP_PEAR_STAGE="${SKIP_PEAR_STAGE:-1}"
|
||||
log "assembling by-arch (SKIP_PEAR_STAGE=$SKIP_PEAR_STAGE)"
|
||||
chmod +x scripts/pear-stage-by-arch.sh
|
||||
bash scripts/pear-stage-by-arch.sh
|
||||
|
||||
@@ -163,6 +162,7 @@ Packaged binaries embed \`pear-runtime\` OTA against those upgrade links.
|
||||
Disable with \`--no-updates\` or \`BARE_OS_OTA_DISABLE=1\`.
|
||||
|
||||
by-arch trees: \`by-arch-seeder.tar.gz\`, \`by-arch-booter.tar.gz\`
|
||||
(pear-ci stage/seed is offline — not run in this CI job)
|
||||
|
||||
## Checksums
|
||||
|
||||
|
||||
Reference in New Issue
Block a user