News for hackers. Stuff that matters.
Re:Using Radicle CI by maratc on Wednesday July 23, 2025 @11:57AM (#44660663)
This can be achieved by running in CI what commonly runs on local.

E.g. if your build process is simply invoking `build.sh`, it should be trivial to run exactly that in any CI.

Re:Using Radicle CI by ambicapter on Wednesday July 23, 2025 @11:58AM (#44660672)
This is fine until your run into differences between your machine and the CI one (or you're writing code for a different architecture than the one you're using), but I agree, this is definitely the first step.
Re:Using Radicle CI by maratc on Wednesday July 23, 2025 @12:05PM (#44660751)
I agree, but if there's an architecture gap then locally running CI is not gonna help you to bridge it either.
Re:Using Radicle CI by 0x457 on Wednesday July 23, 2025 @02:46PM (#44662601)
Plot twist, my build.sh invokes nix build and all I have to do on CI is to install nix and setup caching.
Re:Using Radicle CI by octopoc on Thursday July 24, 2025 @09:12AM (#44670276)
Double plot twist, I need to VPN into a remote network and now all the CI network activity goes through the VPN as well, and some of it gets blocked (true story)
Re:Using Radicle CI by __MatrixMan__ on Thursday July 24, 2025 @02:28PM (#44674284)
Your builds depend on the consistent behavior of remote servers? That sounds like a recipe for disaster.
Re:Using Radicle CI by esafak on Wednesday July 23, 2025 @12:06PM (#44660767)
Be sure to run it in a container, so you have a semblance of parity.
Re:Using Radicle CI by maratc on Wednesday July 23, 2025 @12:54PM (#44661336)
Where possible. (If your build process builds containers and your tests get them up and make them talk, doing that in a container is a challenge.)

However, there are stateless VMs and stateless BMs too.

Re:Using Radicle CI by BeeOnRope on Wednesday July 23, 2025 @01:14PM (#44661594)
What is a BM?
Re:Using Radicle CI by maratc on Wednesday July 23, 2025 @01:23PM (#44661669)
Baremetal (meaning: "the whole server" usually.)