Live data from Hacker News

Run GitHub Actions locally

github.com

91–100 of 137 posts

Re: Run GitHub Actions locally

#91
post #69
post #61

Earlier quoted context omitted.

How's Jenkins looking these days?

Seems fine to me, I don't really understand why people think CI is hard and they need to shop a different platform. All these systems are is a glorified shell script runner. It seems like developers just keep making up new DSLs over and over to do the same things.

We ended up running every job in a docker container, otherwise the Jenkins admin had to keep installing various tools on the runners. Gitlab supports this workflow natively so seemed the obvious choice.

Re: Run GitHub Actions locally

#92
post #42

Every mention of Github Actions is an occasion to start looking for the best alternative in , let's go! Is Dagger usable yet? Is there still hope for Earthly? Are general purpose workflow systems winning any time soon, or are we still afraid of writing code? Any new systems out there that cover all the totally basic features like running locally, unlike Github Actions?

Gitlab? It's been around longer than Actions, it's much better and honestly not sure why anyone would consider anything else (but happy to hear if there are reasons).

Re: Run GitHub Actions locally

#93

It's important to note that this tool does not use the same container images or runtime environment that GitHub Actions actually runs. It's an approximation. For simple use cases that won't matter, but if you have complex GitHub Actions you're bound to find varying behavior. That can lead to frustration when you're debugging bizarre CI failures.

Yeah, this is lame. With Gitlab you can choose the exact image that runs and provide your own. So you can easily run the exact same code in the exact same environment locally.

I guess it would be nice to have a tool to convert a Gitlab YAML to Docker incantations, but I've never needed to do it that often for it to be a problem.

Re: Run GitHub Actions locally

#94
post #69
post #61

Earlier quoted context omitted.

How's Jenkins looking these days?

Seems fine to me, I don't really understand why people think CI is hard and they need to shop a different platform. All these systems are is a glorified shell script runner. It seems like developers just keep making up new DSLs over and over to do the same things.

it's hard since you don't have the right environment, you can't debug, can't easily run locally and you have to push a change, and wait for the code to run on a remote machine 100x less powerful than you old laptop.

If these systems thought a moment about the developer experience, they'd be magical, but they do not.

Re: Run GitHub Actions locally

#95
post #61
post #42

Every mention of Github Actions is an occasion to start looking for the best alternative in , let's go! Is Dagger usable yet? Is there still hope for Earthly? Are general purpose workflow systems winning any time soon, or are we still afraid of writing code? Any new systems out there that cover all the totally basic features like running locally, unlike Github Actions?

How's Jenkins looking these days?

It's still a miserable experience to maintain it, update it, deal with mostly old plugins, dynamically loading the tooling, groovy idiosyncrasies.. and UI/UX that despite recent efforts continues to feel terrible.

Managing the underlying infra is painful, and it remains a security liability even when not making obvious mistakes like exposing it to any open network.

And good luck if you're having that fun at a windows shop and aren't using a managed instance (or 5).

Re: Run GitHub Actions locally

#96
post #87
post #69

Earlier quoted context omitted.

Seems fine to me, I don't really understand why people think CI is hard and they need to shop a different platform. All these systems are is a glorified shell script runner. It seems like developers just keep making up new DSLs over and over to do the same things.

I wish jenkins had a better config as code option. Not crazy about groovy and you still need to click in the UI to get some set up before you can use. Maybe im stuck with an old version or something I mostly like Jenkins though, idk why people so desperately want to always move to something new. I guess I've never been on the maintenance side of running Jenkins for thousands of engineers though.

I wanted to like the new Jenkinsfile approach, but the developer experience was beyond awful

Re: Run GitHub Actions locally

#97

WARNING: act is great if you use docker. Act does not support podman. Issues or discussions related to providing support/coverage/compatibility/workarounds for podman are closed with a terse message. Unusual for an open source project.

There's a long-open issue[1] for Podman support. Maybe they're just tired of dups? [1] https://github.com/nektos/act/issues/303

Seems like that was also closed for about half a year, maybe GP came across [this discussion](https://github.com/nektos/act/issues/553#issuecomment-791562...) during that period and (understandably) came to their conclusion from that.

Re: Run GitHub Actions locally

#98
post #61
post #42

Every mention of Github Actions is an occasion to start looking for the best alternative in , let's go! Is Dagger usable yet? Is there still hope for Earthly? Are general purpose workflow systems winning any time soon, or are we still afraid of writing code? Any new systems out there that cover all the totally basic features like running locally, unlike Github Actions?

How's Jenkins looking these days?

Still awful last I looked.

Re: Run GitHub Actions locally

#99
I'm using this to run on a risc-v board I have at home, it's pretty nice.

My action just calls `make build test` but it is convenient to have it hooked to GH for automated testing on PRs

Re: Run GitHub Actions locally

#100
post #42

Every mention of Github Actions is an occasion to start looking for the best alternative in , let's go! Is Dagger usable yet? Is there still hope for Earthly? Are general purpose workflow systems winning any time soon, or are we still afraid of writing code? Any new systems out there that cover all the totally basic features like running locally, unlike Github Actions?

Let me throw another one out there: how about TeamCity on premise? Still can be done for free and the last time I used it (years ago) it left a very complete, stable and easy to use impression on me. Jenkins by comparison seems heavy and complicated.
Post reply on HN