hey nerds! i got a lovely email from GitHub this morning that their increasingly vibe-coded, barely-working Actions features are about to get more expensive (charging by the minute for something that notoriously spin-locks is a special flavor of shit sandwich).

i usually just use whatever i’m given at wherever i’m working. i do have a project that i maintain to parse Ollama Modelfiles tho: https://github.com/covercash2/modelfile and to be honest, Actions is the only solution i’ve ever used that came close to sparking joy, simply because it was easy to use and had tons of community mind-share (i’ve definitely heard horror stories and would never stake my business on it), but this price increase and all the other news around GitHub lately has got me side-eying self-hosting solutions for my git projects. Forgejo seems like the way to go for git hosting, but Actions in particular Just Works™️ for me, so i’m kind of dreading setting something up that will be yet another time sink/rabbit hole (just in time for the holidays! 🙃).

i can install most of my tooling with my language toolchain (read: rustup and cargo) which makes things fairly neat, but i just don’t have a sense for what people use outside of Jenkins and Actions.

i thought this community might have some insight beyond the LLM generated listicles that have blighted modern search results.

thanks in advance 🙏

  • douglasg14b@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 hour ago

    GitHub Actions mostly.

    The rest is usually plumbing and code to support it. The actions are just the automated execution environment.

  • fruitycoder@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 hours ago

    Git lab CI is my goto for git repo based things (unit tests, integration tests, etc). Fleet through Rancher for real deployments (manages and maintains state because kubernetes). Tekton is my in between catchall.

  • verstra@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 hours ago

    I’m currently looking into Concourse.

    It does have steeper-than-average learning curve, but I really like that it has well-defined fundamentals (resources, jobs, tasks) and isolation with OCI containers. Before I adopt it fully, I want it to run my nix flake dev shell.

  • thesmokingman@programming.dev
    link
    fedilink
    English
    arrow-up
    7
    ·
    6 hours ago

    Please don’t take me as a GH shill because I’m not. I’m not sure we read the same email given your projects. Actions on GH runners are dropping in cost and there’s a new fractional cost for self-hosted. For the average user, especially those on GH runners, costs are going down. Looking at your repo, you haven’t run anything since July. Your workflow files use GH runners. Nothing in your history suggests you’re leaving the free tier so I don’t get this FUD at all. General Microsoft hate? Fuck yeah. Shitty GH service? Fuck yeah. Plenty of reasons to dunk but this was not one of them. M

  • elephantium@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 hours ago

    We use Azure Devops at my current gig. It works pretty well for our setup. I’ve used GHA before; it definitely didn’t “spark joy”. I wastedspent way too many hours in the “update yaml file, commit, push, wait 5 minutes for it to fail again” spiral of despairfeedback loop.

    Nice thing with ADO is its release dashboard – you get a really nice summary of recent builds and where they went:

    $project - dev - test - prod

    I didn’t see anything similar for GHA.

    • douglasg14b@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 hour ago

      A lot of that pain can be reduced by writing and running your code locally before pushing it to a CI environment. Generally with our automation we write a CLI, And GitHub actions is just an execution environment that calls the CLI.

      And if what you’re trying to do must execute inside an action. You can run workflows locally with docker!

  • weastie@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    7 hours ago

    I do devops at work and my experience is that really any CI/CD system works, they all have enough features to do what you want. They all fundamentally just run scripts on boxes. Therefore, I say pick the easiest one, likely the one that is built into whatever Git system you are using.

    Try to keep your pipelines simple-ish when you can, they almost never need to be that complicated. 95% of the time it’s just running a command or two. If a pipeline needs to do something complex, I’d recommend writing that script into the Git repo and calling it, rather than having a CI job that is 100 lines long.

  • h54@programming.dev
    link
    fedilink
    English
    arrow-up
    27
    ·
    14 hours ago

    IMO, Gitlab CI/CD blows Github out of the water. They’re not even in the same league. I recommend Gitlab + self hosted runners (it’s so easy).

    I’ve been using Gitlab for many years and host my own runners as of the past 6 months because I nearly exhausted my monthly free tier runner minutes one month.

    • douglasg14b@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 hour ago

      Edit: I forgot this was self-hosted community, disregard.


      How does organization work out?

      We have dozens of workflows for our monorepo CI/CD stuff. GitHub organization with the flat structure is incredibly annoying.

      GitLab is a single file?? (Or am I misinformed? )How does that work out?

    • jacksilver@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 hours ago

      I had someone swear to me that Github templating was better, but I’ve only worked with Gitlabs templates. Why do you like Gitlab over Github?

      • h54@programming.dev
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        4 hours ago

        Gitlab CI feels native. Github offers similar functionality but it feels/looks like an afterthought. I think the Gitlab .yaml structure is more intuitive. Also, how the Gitlab UI visually represents a pipeline is mcuh better, IMO. Self hosting runners on my server (Ubuntu) is so easy and free. I hadn’t tried it with Github but it sounds like it still costs money?!

        Note: I don’t work for Gitlab

    • xcjs@programming.dev
      link
      fedilink
      English
      arrow-up
      7
      ·
      13 hours ago

      I second GitLab CI/CD - it’s a CI/CD system that just makes sense to me. That doesn’t mean it doesn’t have its complexities depending on your needs, but I’ve overall enjoyed my time working with it.

      • zr0@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        11 hours ago

        Every language, that uses functional white spaces, is absolutely awesome!!

        — no one

      • Jayjader@jlai.lu
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        12 hours ago

        I dislike yaml as much as the next person, but you can always “just” write Jason JSON (lol autocorrect). Unless I’m misunderstanding your criticism?

        • chilicheeselies@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          5 hours 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.

    • AA5B@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      9 hours ago

      I’m not entirely sure why all the hate : Jenkins can do the most things the must ways. And yes, it’s so much nicer defining a pipeline with a fully functional language than an assortment of yaml files

      Actually that was my response when my company wanted to start using Gitlab ci. It only has one way of doing things so you can probably get a faster start if you had no ci, were a small company, and had simple builds. However we’re over 4,000 builds in many languages from 12 year old monoliths to modern micro services and containers…… and way too much godawful JavaScript. Do you want the quick and simple tool great for a small startup or the all powerful kitchen sink of tools?

    • prettybunnys@piefed.social
      link
      fedilink
      English
      arrow-up
      6
      ·
      12 hours ago

      Jenkins is good enough to be widely used enough to be hated enough to be downvoted.

      The sign of a mature product IMO.

      You could do worse than Jenkins

  • killabeezio@lemmy.zip
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    10 hours ago

    So many these days. Actions are probably one of the best, but there are still plenty of others out there.

    • gitlab
    • dagger
    • concourseci
    • tekton
    • Spinnaker
    • harness
    • argo
    • flux
    • gocd

    If I were to pick one, it would probably be dagger. Or really anything but Jenkins.

  • Carol2852@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    12
    ·
    15 hours ago

    I’m using gitea which has CI compatible to GitHub actions with my own runner. It’s pretty straightforward to set up and didn’t give me any headaches yet. It’s a very small instance just for my ownaybe dozen projects though.

    • yaroto98@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      15 hours ago

      This is what I was using till I switched to forgejo and never got around to setting up one of their runners.

      • witten@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 hours ago

        Out of curiosity, how did you switch to Forgejo? I thought Gitea and Forgejo have diverged to the point where you can no longer just switch over without losing stuff.

      • Finn@toot.fan
        link
        fedilink
        arrow-up
        1
        ·
        5 hours ago

        @yaroto98 @Carol2852 Same here, switched from gitea to forgejo. I still was using the act runner for some time, later I replaced it with the forgejo-runner.

        Works pretty smooth!

      • Carol2852@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 hours ago

        I run their act binary on one of my servers. Can’t remember much of the setup, so I can’t be too bad. I did have to change the used images though, but I guess that comes with maintenance of you own runner anyway.

      • cecilkorik@lemmy.ca
        link
        fedilink
        English
        arrow-up
        2
        ·
        14 hours ago

        If it helps motivate you to give it a shot, I found gitea’s runner very confusing to set up, but I felt like forgejo was better designed, pretty easy and well documented.

    • chrash0@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      15 hours ago

      good lead. it’s just the one project for now, and to my surprise it’s actually a dependency for the ollama-rs project, so i feel somewhat obligated to keep it stable.