Skip to content

Conversation

@luhenry
Copy link

@luhenry luhenry commented Oct 31, 2025

This PR adds support for RISC-V following the recent release of Debian Trixie on riscv64 as a stable target [1]. This also unblocks packaging and distributing Gitlab Runners on riscv64.

[1] https://www.debian.org/releases/trixie/

@luhenry
Copy link
Author

luhenry commented Oct 31, 2025

@chriskuehl given some of the commits are not entirely related to riscv64 support (bump to bullseye and bump autopep8 pre-commit), I'm happy to break these two into seperate PRs if you prefer, just let me know. Thanks again for all your hard work on that! :)

@luhenry luhenry force-pushed the riscv64 branch 4 times, most recently from 228e1d3 to a80e397 Compare November 3, 2025 07:24
Buster is EOL since 2022-09-10, and the LTS is also EOL since
2024-06-30. It's not available anymore in
http://ftp.debian.org/debian/dists/

It's also safe to remove python3-distutils, since python3-setuptools
depends on it. And given it's deprecated since Python 3.10, the package
has been removed in later Debian versions (bookworm, trixie).
@luhenry luhenry force-pushed the riscv64 branch 4 times, most recently from a956ad4 to 82eae7e Compare November 3, 2025 09:07
It is based on Debian Trixie which is the first stable release to
support riscv64.
`ubuntu-20.04` isn't available anymore. It's safe to use `ubuntu-latest` since
all the build steps are executed inside a container anyway so the dependency
versions are controlled this way
Store it in the artifacts for future bookkeeping.
Version pytest-timeout<2.0.0 still depends on distutils which doesn't
exist in debian bookworm anymore.
@luhenry
Copy link
Author

luhenry commented Nov 3, 2025

Full successful run on CI at https://github.com/luhenry/dumb-init/actions/runs/19029374564

@bertoldia
Copy link

Hi @chriskuehl 👋 I'm on the GitLab Runner team. Merging this MRPR would unblock a couple of MRs that round out riscv64 support for gitlab-runner. It'd be excellent get this PR merged ASAP 🙏. Cheers.

@asottile
Copy link
Contributor

asottile commented Nov 4, 2025

unfortunately neither Chris nor I work at yelp any more so it might be unmaintained

@bertoldia
Copy link

@kentwills You appear to still be at Yelp. Are you able to give this MR some love?

@asottile
Copy link
Contributor

asottile commented Nov 4, 2025

tbf I don't think you actually need this merged here to use dumb-init on trixie: https://packages.debian.org/trixie/dumb-init

and I don't think this PR should be merged as is -- it should be split into the separate individual patches such that it can be properly reviewed

@luhenry
Copy link
Author

luhenry commented Nov 4, 2025

tbf I don't think you actually need this merged here to use dumb-init on trixie: https://packages.debian.org/trixie/dumb-init

That's a good point. I'll take that back to the Gitlab Runner team and see what they want to do. It's also available in the Ubuntu and Alpine package managers.

and I don't think this PR should be merged as is -- it should be split into the separate individual patches such that it can be properly reviewed

Happy to do so regardless of what Gitlab wants to do (distro package manager or download releases), just to leave it better than how I found it :)

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.

3 participants