act VS gitlab-ci-local

Compare act vs gitlab-ci-local and see what are their differences.

act

Run your GitHub Actions locally 🚀 (by nektos)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
act gitlab-ci-local
145 10
50,182 1,862
3.6% -
9.2 9.1
6 days ago 3 days ago
Go TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

act

Posts with mentions or reviews of act. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-27.
  • How to debug GitHub actions. Real-world example
    3 projects | dev.to | 27 Mar 2024
    When it comes to the alternatives to tmate, there is another great debugging tool that you could check out. It is called act and it allows you to run GitHub Actions code on your local machine making debugging even easier. It has its own limitations and some learning curve but overall it is another tool you should use if you can’t fix the CI bugs by connecting directly into the running action with the tmate.
  • Using my new Raspberry Pi to run an existing GitHub Action
    2 projects | news.ycombinator.com | 11 Mar 2024
    Link: https://github.com/nektos/act
  • Show HN: Open-source x64 and Arm GitHub runners. Reduces GitHub Actions bill 10x
    7 projects | news.ycombinator.com | 30 Jan 2024
    Could you upload your build of GitHub's runner image to Docker Hub?

    This would be quite useful for users of other GitHub Actions clones like act [0].

    [0]: https://github.com/nektos/act

  • Git commit messages are useless
    1 project | news.ycombinator.com | 25 Jan 2024
    > These kinds of commit messages are typically an indicator of a broken process where somebody needs to commit to see something happen, like a deployment or build process, and aren't able to assert that stuff works locally.

    This is one of my biggest pet peeves with services like github actions. Something running locally like "act" [1] isn't sufficient because it doesn't have everything github has and is extra friction anyway to get everyone to use it for testing.

    [1] https://github.com/nektos/act

  • Essential Command Line Tools for Developers
    29 projects | dev.to | 15 Jan 2024
    View on GitHub
  • What’s with DevOps engineers using `make` of all things?
    17 projects | /r/devops | 6 Dec 2023
    If you use Github actions, act is incredibly useful. It can be used to test your GH actions, but also serves as an interface for running tasks locally.
  • Streamlining CI/CD Pipelines with Code: A Developer's Guide
    2 projects | news.ycombinator.com | 21 Nov 2023
    That's something that often is difficult or basically impossible. Except for maybe GitHub actions through Act (https://github.com/nektos/act). I'd still lean to something in the yaml sphere if it eventually would be used in deployment pipelines and such. For example a solution incorporating ansible.

    It also seems to me that the argument you make is mostly focused on the building step? Earthly certainly seems focused on that aspect.

  • GitHub Actions Are a Problem
    19 projects | news.ycombinator.com | 12 Nov 2023
    I feel I'm being trolled, but I'll bite and accept the resulting downvotes

    I don't think treating every mention of act as an opportunity for airing of personal grievances is helpful in a discussion when there's already ample reports of people's concrete issues with it, had one looked at the 800 issues in its repo https://github.com/nektos/act/issues?q=is%3Aissue or the 239 from gitea's for https://gitea.com/gitea/act_runner/issues or whatever is going on with Forgejo's fork https://code.forgejo.org/forgejo/act .

    But, as for me specifically, there are two and a half answers: I wanted to run VSCodium's build locally, which act for sure puked about. Then, while trying to troubleshoot that, I thought I'd try something simpler and have it run the lint job from act's own repo <https://github.com/nektos/act/blob/1252e551b8672b1e16dc8835d...> to rule out "you're holding it wrong" type junk. It died with

      [checks/lint]     Failure - Main actions/setup-go@v3
  • How Steve Jobs Saved Apple with the Online Apple Store
    2 projects | news.ycombinator.com | 10 Nov 2023
    https://twitter.com/mitsuhiko/status/1720410479141487099 :

    > GitHub Actions currently charges $0.16 per minute* for the macOS M1 Runners. That comes out to $84,096 for 1 machine year*

    GitHub Runner is written in Go; it fetches tasks from GitHub Actions and posts the results back to the Pull Request that spawned the build.

    nektos/act is how Gitea Actions builds GitHub Actions workflow YAML build definition documents. https://github.com/nektos/act

    https://twitter.com/MatthewCroughan/status/17200423527675700... :

    > This is the macOS Ventura installer running in 30 VMs, in 30 #nix derivations at once. It gets the installer from Apple, automates the installation using Tesseract OCR and TCL Expect scripts. This is to test the repeatability. A single function call `makeDarwinImage`.

    With a Multi-Stage Dockerfile/Containerfild, you can have a dev environment like xcode or gcc+make in the first stage that builds the package, and then the second stage the package is installed and tested, and then the package is signed and published to a package repo / app store / OCI container image repository.

    SLSA now specifies builders for signing things correctly in CI builds with keys in RAM on the build workers.

    "Build your own SLSA 3+ provenance builder on GitHub Actions" https://slsa.dev/blog/2023/08/bring-your-own-builder-github

  • Overview
    1 project | /r/programming | 29 Oct 2023

gitlab-ci-local

Posts with mentions or reviews of gitlab-ci-local. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-18.
  • 🦊 GitLab CI YAML Modifications: Tackling the Feedback Loop Problem
    6 projects | dev.to | 18 Dec 2023
    Among these options, the one that has gained the most traction is gitlab-ci-local :
  • 🦊 GitLab CI: 10+ Best Practices to Avoid Widespread Anti-patterns
    3 projects | dev.to | 25 Sep 2023
    The main reason behind this change is to have consistent scripts for local testing and remote runners during testing and debugging. However, there are already tools available, such as gitlab-ci-local, that allow you to run jobs locally, partially invalidating this argument. Additionally, working locally may not provide access to all necessary variables.
  • GitHub Actions could be so much better
    21 projects | news.ycombinator.com | 22 Sep 2023
  • How do you debug CI/CD pipelines? Breakpoints?
    7 projects | /r/devops | 26 May 2023
    Two tools I've used for local Gitlab CI runs: - https://github.com/firecow/gitlab-ci-local - https://gitlab.com/AdrianDC/gitlabci-local
  • makefiles in stages
    2 projects | /r/gitlab | 7 Mar 2023
    What you might want to look at is this, to meet both needs https://github.com/firecow/gitlab-ci-local
  • Looking for a way to test CI pipeline (gitlab) locally
    1 project | /r/devops | 23 Jan 2023
    https://github.com/firecow/gitlab-ci-local exists but its not quite there yet. Personally Ive resorted to setting up a self-managed instance at home, relying on the included linter/validator and pushing repeatedly as before.
  • Selfhosted Gitlab for CI only
    1 project | /r/gitlab | 15 Sep 2022
    If you already have/had a working pipeline then maybe https://github.com/firecow/gitlab-ci-local has something worth looking at.
  • The End of CI
    6 projects | news.ycombinator.com | 2 Jul 2022
    > One thing that would be nice, however, would be the ability to run the entire pipeline locally.

    This cost me many hours of waiting for the Gitlab CI runner when debugging non-trivial pipelines, when the issue was something that did not have to do with the script steps inside of the jobs but rather how the Gitlab runner handled things.

    I've found gitlab-ci-local [1] which actually does run the Gitlab pipeline locally, although I had to write some boilerplaye scripts to set up all the necessary 'CI_FOO_SOMETHING' environment variables before running the tool. (Which sometimes came back to bite me because the issue was actually in the content of some of those environment variables). It's still a very good tool.

    [1] https://github.com/firecow/gitlab-ci-local

  • How to develop CI pipeline effectively?
    3 projects | /r/devops | 20 Jun 2022
    Most CI/CD tools let you run pipelines locally. Just one example: https://circleci.com/blog/using-runner-for-local-testing/ . In my opinion Gitlab and Circleci have the test tools for this.
  • firecow/gitlab-ci-local : Tired of pushing to test your .gitlab-ci.yml?
    1 project | /r/devel | 3 Mar 2021

What are some alternatives?

When comparing act and gitlab-ci-local you can also consider the following projects:

reverse-rdp-windows-github-actions - Reverse Remote Desktop into Windows on GitHub Actions for Debugging and/or Job Introspection [GET https://api.github.com/repos/nelsonjchen/reverse-rdp-windows-github-actions: 403 - Repository access blocked]

dagger - Application Delivery as Code that Runs Anywhere

cache - Cache dependencies and build outputs in GitHub Actions

tekton-kickstarter - Templates, scripts and samples for quickly building CI/CD with Tekton.

pypyr automation task runner - pypyr task-runner cli & api for automation pipelines. Automate anything by combining commands, different scripts in different languages & applications into one pipeline process.

earthly - Super simple build framework with fast, repeatable builds and an instantly familiar syntax – like Dockerfile and Makefile had a baby.

action-tmate - Debug your GitHub Actions via SSH by using tmate to get access to the runner system itself.

goonstation - Repository for the Goonstation branch of SS13

LSPatch - LSPatch: A non-root Xposed framework extending from LSPosed

iamlive - Generate an IAM policy from AWS, Azure, or Google Cloud (GCP) calls using client-side monitoring (CSM) or embedded proxy