Skip to content

Migrate CI to dcc-bigfred/common shared workflows - #2

Merged
keskad merged 7 commits into
mainfrom
chore/shared-ci
Aug 6, 2026
Merged

Migrate CI to dcc-bigfred/common shared workflows#2
keskad merged 7 commits into
mainfrom
chore/shared-ci

Conversation

@keskad

@keskad keskad commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Intent

Collapse duplicated Rust CI/release boilerplate into dcc-bigfred/common and stop publishing binary blobs to ORAS/GHCR. microdns should be a thin workflow caller — same pattern as micronet, bigfred, and microinit — with version metadata injected at release time via shared Go tooling.

This PR is a template for the org-wide CI simplification; it does not change DNS behaviour.

Summary

  • Thin callers for rust-musl-ci.yml and rust-release.yml at @v2
  • Drop ORAS publish/retag scripts; Release assets only
  • ELF inject via go run …/cmd/inject-elf-version (no clone of common, no ci_scripts_ref)
  • Remove local inject-elf-version.sh and .ci-github bootstrap
  • Add release-assertions Cargo profile required by shared CI

Related work

Repo PR / ref Role
common main @ v0.1.2 / v2 Workflows + cmd/inject-elf-version
micronet #1 Same shared CI pattern (feature repo)
microinit #10 Parallel ORAS binary drop
bigfred #55 Parallel ORAS binary drop + minisign
bigfred-os #21 Fetches published binaries via cmd/fetch

Suggested merge order: common (done) → this PR (independent of micronet feature).

Test plan

  • CI green (uses: dcc-bigfred/common/...@v2)
  • Tag v* release uploads linux arm64+amd64 assets (no ORAS steps)
  • ELF section .microdns.version present on release binaries

keskad and others added 5 commits August 6, 2026 14:26
Call rust-musl-ci / ORAS reusable workflows at @v1; Makefile clones
.ci-github for local publish-oci. Drop duplicated ORAS helpers.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@keskad

keskad commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

Updated to @v2 shared workflows; ORAS publish job removed.

Rename target after .github → common. Makefile no longer clones shared
scripts (fetch lives in go run github.com/dcc-bigfred/common/cmd/fetch).

Co-authored-by: Cursor <cursoragent@cursor.com>
@keskad keskad changed the title Migrate CI to shared org workflows Migrate CI to dcc-bigfred/common shared workflows Aug 6, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
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