Hacker News new | ask | show | jobs
by flohofwoe 557 days ago
IIRC Github Actions started as a 'visual editor' where you would drop and arrange 'Actions' and define the data flow between actions, but what most people want from a CI system is just a script/config file in their git repo which defines what command line tools to run, and to group those commands in jobs dependending on each other so that some jobs can run in parallel (which Github Actions only implemented as an afterthought after users demanded it).

To reuse code, Gitlab CI has simple template files which you can import into your toplevel .gitlab-ci.yml, and you have an inheritance system to derive new jobs from other jobs. That's a very simple and powerful system.

Code reuse in Github works with above mentioned 'actions' where each action seems to be a whole repository of stuff instead of a single file like in Gitlab CI.

Gitlab CI seems to be designed by people who know what they do and what their users need, while Github Actions seems to be designed by architecture astronauts, and has only afterwards and reluctantly been hammered into a shape where it does the things most users expect.

3 comments

GitHub Actions feels like it was first designed to let people customize the GitHub Pages deploy flow (since GitHub by default only offered Jekyll as a static site generator, and Jekyll is Ruby tooling and not lightweight to run at all) and as a CI tool second, being molded into behaving like one after Travis CI went bad for open source projects.

Gitlab CI actually seems like it was made for CI in the first place.

GitHub Actions is rebranded Microsoft Azure product AFAIK
I'm pretty sure of the same, and that feature actually leaks into the implementation. Right after the initial introduction of the current Github Actions, we translated some Azure Devops scripts to Actions and a lot of the structure and most keywords where nearly identical. As well as the interface when running the CI.
If I remember correctly GitHub CI is pretty much a straight port of Microsoft’s existing Azure DevOps CI, done pretty soon after the acquisition. The rest of Azure DevOps UX is kinda insane so it’s no surprise the CI is a bit of a pain too.
And Github Actions is somehow superior to CircleCI in many ways!