Skip to content

CI refinements: Docker fix, Linode runner, bump workflows - #54

Merged
gmarzot merged 2 commits into
mainfrom
ci-refinements
Mar 13, 2026
Merged

CI refinements: Docker fix, Linode runner, bump workflows#54
gmarzot merged 2 commits into
mainfrom
ci-refinements

Conversation

@gmarzot

@gmarzot gmarzot commented Mar 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Multi-stage Dockerfile: build in debian:bookworm using bookworm moxygen tarball, fixing shared lib mismatch crash (binary was built on ubuntu-22.04 but runtime was bookworm-slim)
  • Linode self-hosted runner for publish job (faster builds, persistent deps)
  • Rename formatcheck-format in ci-pr.yml and ci-main.yml
  • bump-moxygen.yml: workflow_dispatch to advance deps/moxygen submodule, validates artifacts exist before creating PR
  • auto-merge-bump.yml: auto-merges bump PRs when CI passes, notifies on failure

Changes

  • docker/Dockerfile — multi-stage: build stage (bookworm + system deps + moxygen tarball), runtime stage (bookworm-slim + runtime libs)
  • .dockerignore — exclude install/ and _build/
  • .github/workflows/ci-main.yml — Linode runner for publish, bookworm tarball download for Docker, check-format rename
  • .github/workflows/ci-pr.yml — check-format rename
  • .github/workflows/bump-moxygen.yml (new)
  • .github/workflows/auto-merge-bump.yml (new)

Test plan

  • ci-pr passes (check-format + build/test)
  • After merge: publish job builds on Linode, Docker image starts without missing .so errors
  • docker run --rm ghcr.io/openmoq/o-rly:latest --help works
  • Trigger bump-moxygen workflow → creates PR → CI passes → auto-merges

This change is Reviewable

- Multi-stage Dockerfile: build in bookworm using bookworm moxygen
  tarball, fixing shared lib mismatch crash in runtime image
- Publish job runs on Linode self-hosted runner
- Rename format job to check-format in ci-pr and ci-main
- Add bump-moxygen.yml (workflow_dispatch to advance submodule)
- Add auto-merge-bump.yml (auto-merge bump PRs on CI pass)
@gmarzot gmarzot self-assigned this Mar 12, 2026
@gmarzot

gmarzot commented Mar 12, 2026

Copy link
Copy Markdown
Contributor Author

@afrind @michalhosna

@afrind afrind left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐶 🧑‍🔬

@afrind reviewed 6 files and all commit messages, and made 2 comments.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on gmarzot).


docker/Dockerfile line 63 at r1 (raw file):

        libboost-context1.81.0 \
        libssl3 \
        zlib1g \

What's this?

- Use Ninja generator and RelWithDebInfo in Dockerfile build stage
- Add CMAKE_FIND_LIBRARY_SUFFIXES=".a" for static linking
- Fix runtime libboost-context version (1.81.0 → 1.74.0 for bookworm)
- Exclude .git/ from Docker context
@gmarzot
gmarzot merged commit 54f6d19 into main Mar 13, 2026
5 of 6 checks passed
@gmarzot
gmarzot deleted the ci-refinements branch April 12, 2026 02:23
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.

2 participants