Skip to content
gear-techPublic

About

Prebuilt Gear binaries

Topics

Resources

Stars

7 stars

Watchers

8 watching

Forks

Latest commit

 

History

173 Commits

Folders and files

Repository files navigation

Builds

Nightly Status

Prebuilt binaries

⚓ https://get.gear.rs

Targeted release recovery

Scheduled builds and dispatches with binary=all and target=all build all ten binary/target combinations. Build failures block publication of the entire run. For a failed full run, rerun only failed jobs in that same run:

: "${RUN_ID:?Set the failed full workflow run ID}"
gh run rerun "$RUN_ID" --failed --repo gear-tech/builds

This preserves successful jobs' artifacts for the publication job. A retried job replaces its own partial uploads without deleting other targets. Reruns use the original workflow revision; they do not pick up later workflow fixes. If packaging code must change, retain the original artifacts and arrange their publication alongside the repaired target; a new targeted run does not import those artifacts.

Use a separate targeted dispatch only when the other required packages are already published, as with the v2.1.0 Linux packaging repair:

gh workflow run nightly.yml --repo gear-tech/builds --ref master \
  -f release_version=v2.1.0 -f latest=false \
  -f binary=gear -f target=x86_64-unknown-linux-gnu

The workflow ref selects packaging code only: release_version=v2.1.0 keeps the Gear source pinned to the existing release tag. Do not change that tag or rerun successful targets. Targeted recovery uploads only its selected packages to S3 and refreshes the builds index; latest=false leaves release redirects unchanged. Partial nightly builds skip bulk nightly deletion, preserving unrelated packages. Neither recovery path publishes or promotes the GitHub release.

Linux GNU packages are built on Ubuntu 24.04. For v2.1.0, use a compatible glibc 2.39 host/container (not Debian 12 or Ubuntu 22.04); run the new gear --version successfully before replacing a working service binary.

Local preview with Docker / Podman

1. Build image

podman build -t gear-builds-local .

2. Install Node dependencies inside the container

podman run --rm -it \
  -v "$PWD":/app:Z \
  -w /app \
  gear-builds-local \
  sh -c "npm install"

3. Generate src/builds.json from S3

Make sure .env contains the AWS configuration, then pass it into the container:

podman run --rm -it \
  --env-file .env \
  -v "$PWD":/app:Z \
  -w /app \
  gear-builds-local \
  sh -c "npm run gen:builds"

This will create/update src/builds.json based on objects in the configured S3 bucket.

4. Run local dev server and open the page

podman run --rm -it \
  -v "$PWD":/app:Z \
  -w /app \
  -p 3000:3000 \
  gear-builds-local \
  sh -c "npm run dev"

Then open:

http://localhost:3000

About

Prebuilt Gear binaries

Topics

Resources

Stars

7 stars

Watchers

8 watching

Forks

Releases

Used by

Contributors

Languages