Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
André Menrath
@linos@graz.social  ·  activity timestamp 2 weeks ago

I again spend two days of digging into (self-hosted) CI.

It is shocking how software development is dependent on #GitHub, their action runners and hosting of libraries!

I try to avoid it. For most projects I use #CodeBerg. Codeberg CI-support gets better and the public runners they offer are already quite good. The situation already has improved so much over the last two years.

I wanted reproduceable tests that also run in the CI, exactly the same way. In my case this requires the CI job to span up containers: docker-in-docker. This is not something Codeberg offers, so again I tried to configure my self-hosted forgejo-runner. The documentation is still a heavy read and there are no clear guidelines at all. I went from one error to the next for two days straight. In the end I gave up, I could not get directories from the job container mounted correctly in the containers started by the job container.

If anyone would offer help, I would take any advice.

#Forgejo #ForgejoRunner

  • Copy link
  • Flag this post
  • Block
André Menrath
@linos@graz.social replied  ·  activity timestamp 2 weeks ago

Compare:
https://github.com/Menrath/gatherpress-activitypub/actions/runs/19716483868/job/56489753367
https://codeberg.org/Event-Federation/gatherpress-activitypub/actions/runs/123/jobs/0/attempt/1

  • Copy link
  • Flag this comment
  • Block
Klasse & Methode
@klasse_methode@chaos.social replied  ·  activity timestamp 2 weeks ago

@linos we're running @forgejo runner as a @coopcloud recipe and I think it works quiet well, apart from a few hiccups.
https://git.coopcloud.tech/coop-cloud/forgejo-runner.git
Edit: we also run docker in docker for some of our unittests

  • Copy link
  • Flag this comment
  • Block
marius
@mariusor@metalhead.club replied  ·  activity timestamp 2 weeks ago

@linos dunno if it's feasible for the containers you really need to run, but I migrated off docker to rootless podman, which might be possible to run on codeberg (I don't know for sure, my experience is using a different minimalist CI at SourceHut).

  • Copy link
  • Flag this comment
  • Block
André Menrath
@linos@graz.social replied  ·  activity timestamp 2 weeks ago

@mariusor I did not have a look into podman yet, never worked with it. But maybe I should give it a try!

  • Copy link
  • Flag this comment
  • Block
pat-s
@pat_dev@social.linux.pizza replied  ·  activity timestamp 2 weeks ago

@linos @codefloe is a #forgejo based public instance which offers two CI options. In both you can run DIND (one is Forgejo Actions). Check the docs for more.

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.8 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login