It’s still yaml shit though.
Comment on what do y'all use for CI/CD?
Jayjader@jlai.lu 3 weeks ago
Forgejo has their own runner: forgejo.org/docs/latest/…/runner-installation/
I’ve used it on my personal machine, was very easy to setup and mostly compatible with GitHub actions out-of-the-box (including things like actions/checkout@v4).
corsicanguppy@lemmy.ca 3 weeks ago
zr0@lemmy.dbzer0.com 3 weeks ago
Every language, that uses functional white spaces, is absolutely awesome!!
- no one
prettybunnys@piefed.social 3 weeks ago
What issue do you have with using tank to define a job?
Jayjader@jlai.lu 3 weeks ago
I dislike yaml as much as the next person, but you can always “just” write Jason. Unless I’m misunderstanding your criticism?
chilicheeselies@lemmy.world 3 weeks ago
Yaml is vette than json for this IMO brcausebyou can write comments in yaml, and in general format multiline strings easier. Json is best for system to system comms. Human to system literlaly anything other text formst than json.
scrubbles@poptalk.scrubbles.tech 3 weeks ago
Forgejo runners are great! I found some simple actions to do docker in docker and now build all my images with them!
felbane@lemmy.world 3 weeks ago
please share, I’m interested in doing the same
scrubbles@poptalk.scrubbles.tech 3 weeks ago
Sure! I use Kaniko (Although I see now that it’s not maintained anymore). I’ll probably pull the image in locally to protect it…
Kaniko does the Docker in Docker, and I found an action that I use, but it looks like that was taken down… Luckily I archived it! Make an action in Forgejo (I have an
infrastructuregroup that I add public repos to for actions. So this one is calledaction-koniko-buildand all it has is thisaction.ymlfile in it:Then, you can use it directly like:
I run my runners in Kubernetes in the same cluster as my forgejo instance, so this all hooks up pretty easy. Lmk if you want to see that at all if it’s relevant. The big thing is that you’ll need to have them be Privileged, and there’s some complicated stuff where you need to run both the runner and the “dind” container together.
felbane@lemmy.world 3 weeks ago
Thanks for the write-up! I’ve been trying and failing to do DOOD and POOP runners via forgejo, but I haven’t had the time or energy to really dig in and figure out the issue. At this point I just want something to work so I’ll give your setup a try 😎