Skip to content

Fetch natives via go run dcc-bigfred/common/cmd/fetch - #12

Merged
keskad merged 5 commits into
mainfrom
chore/github-binary-fetch
Aug 6, 2026
Merged

Fetch natives via go run dcc-bigfred/common/cmd/fetch#12
keskad merged 5 commits into
mainfrom
chore/github-binary-fetch

Conversation

@keskad

@keskad keskad commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Intent

Stop pulling native binaries from ORAS/GHCR and from one-off curl/Python shell scripts. The Android client should fetch loco-server, microinit, and valkey the same way as the rest of the org: go run github.com/dcc-bigfred/common/cmd/fetch@latest, with tip → Actions artifacts and latest-release / v* → GitHub Releases.

This PR is a consumer of binaries published by bigfred, microinit, and deps-android-valkey.

Summary

  • Replace ORAS / .ci-github bootstrap with go run …/cmd/fetch@latest in Makefile
  • make loco-android / make microinit-android — tip or Release from GitHub
  • make valkey-androidlatest-release from dcc-bigfred/deps-android-valkey
  • Gradle fetchNativeBinaries stages via make targets (no standalone fetch scripts)
  • Drop fetch-ghcr-oras.sh and fetch-github-release-asset.sh
  • Host needs Go; token via GITHUB_TOKEN / GH_TOKEN / BIGFRED_NATIVE_TOKEN

Related work

Repo PR / ref Role
common main @ v0.1.2 / v2 cmd/fetch implementation
bigfred #55 Publishes loco-server-android-arm64 to Releases / CI artifacts
microinit #10 Publishes libmicroinit.so Android artifact
bigfred-os #21 Same fetch tool for hub image packages
micronet #1 (indirect) hub networking binaries

Suggested merge order: common (done) → bigfred + microinit → this PR.

Test plan

  • command -v go and GITHUB_TOKEN available
  • make loco-android microinit-android valkey-android (or make native-prebuilt) succeeds
  • make apk / CI embeds libloco-server.so, libmicroinit.so, libvalkey-server.so

keskad and others added 4 commits August 6, 2026 15:39
Drop ORAS/GHCR pull; Makefile clones dcc-bigfred/.github @ v2 and uses
curl-based Actions/Release download (no gh CLI).

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Drop .ci-github clone/bootstrap; require Go on the host for tip/Release
native fetches.

Co-authored-by: Cursor <cursoragent@cursor.com>
@keskad keskad changed the title Fetch natives via shared GitHub scripts (no ORAS) Fetch natives via go run dcc-bigfred/common/cmd/fetch Aug 6, 2026
Drop the one-off release-asset shell script; Gradle stages through make.

Co-authored-by: Cursor <cursoragent@cursor.com>
@keskad
keskad merged commit 20c9f5e into main Aug 6, 2026
1 check passed
@keskad
keskad deleted the chore/github-binary-fetch branch August 6, 2026 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant