gitlab-ci-local VS github-workflows-kt

Compare gitlab-ci-local vs github-workflows-kt and see what are their differences.

github-workflows-kt

Authoring GitHub Actions workflows in Kotlin. You won't go back to YAML! (by typesafegithub)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
gitlab-ci-local github-workflows-kt
10 8
1,862 482
- 0.8%
9.1 9.7
7 days ago 6 days ago
TypeScript Kotlin
MIT License Apache License 2.0
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.

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

github-workflows-kt

Posts with mentions or reviews of github-workflows-kt. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-22.
  • GitHub Actions could be so much better
    21 projects | news.ycombinator.com | 22 Sep 2023
  • XML is better than YAML
    17 projects | news.ycombinator.com | 20 Sep 2023
    We use Kotlin to generate the yaml for our github actions: https://github.com/typesafegithub/github-workflows-kt

    Nothing like a good old type safe compiled language to cut down on the verbosity, copy paste usage, silly syntax errors, weird undocumented you just have to know the magical incantations, etc. Kotlin or similar languages are the way to go. Much safer, more compact, easier to cut down on the copy paste reuse (which is just miserable drudgery), easy to introduce some sane abstractions where that makes sense. You get auto completion. And if it compiles, it's likely to just work.

    People keep on moving around the deck chairs on the proverbial Titanic when it comes to configuration languages. Substituting yaml for json or toml just moves the problems. And substituting those with XML just introduces other issues and only marginally improves things. Well formed xml is nice. But so is well formed json. Schemas help, if the urls don't 404 and you have tools that can actually do something with them. Which, as it turns out is mostly not a thing in practice. And without that, it's just repetitive bloat. XML with schemas becomes very hard to read quickly.

    There's a reason, people started ignoring XML once json became popular: json does most of the essential stuff well enough that XML just isn't worth the effort. And if you have something where you'd actually need the complexity of XML, it's likely to be some really ugly bloated kind of thing where the last thing you'd want to do is edit it manually.

    I've dealt with cloudformation in XML form at some point in my life. It sucks. Not just a little bit. It's an absolute piss poor format for a thing like that. Since such a thing was lacking at the time, we ended up actually building our own little tools to generate that xml. Hand editing it was just too painful. One mistake could corrupt your entire stack. And it takes ages to find out if you actually got it right. In Json form it's hardly any better. It's just one of those convoluted over-engineered things. Anyway, Json support for cloudformation was not there at the time and the difference is like asking whether you'd preferred to be shot or stabbed. It's going to suck either way.

  • Typesafe Github Workflows explained to a 5 years old
    3 projects | dev.to | 9 Sep 2023
    github-workflows-kt is a tool for creating GitHub Actions workflows in a type-safe script, helping you to build robust workflows for your GitHub projects without mistakes, with pleasure, in Kotlin.
  • Guides for Kotlin scripting use case
    8 projects | /r/Kotlin | 12 Mar 2023
    The github-workflows-kt project uses Kotlin scripting, and it recommends doing everything using main.kts, because it's easier.
  • Feature Flags in a CI Pipeline
    4 projects | news.ycombinator.com | 17 Jan 2023
    I use matrix tests with github actions to test my kt-search client with different versions of elastisearch and opensearch. Pretty easy to set up: https://github.com/jillesvangurp/kt-search/blob/master/.gith...

    Basically it fires up elasticsearch using docker-compose and then the integration tests run against that. You could use a similar strategy to test different feature flag combinations.

    For some of our private projects, we use kts to generate the github action yaml files using this: https://github.com/krzema12/github-workflows-kt

    Well worth checking out if you have more complex workflows. Yaml is just horrible in terms of copy paste reuse. Also nice to get some compile time safety and auto complete with our action files.

  • Kts Scripting of Yaml & Json Dialects
    4 projects | dev.to | 9 Aug 2022
    One of my team members, Nikky, got annoyed with the verbosity and insane amount of copy-paste reuse needed to drive Github Actions. And true to her nature, promptly fixed it by using and contributing to GitHub Actions Kotlin DSL
  • GitHub Actions: a New Hope in YAML Wasteland
    6 projects | dev.to | 11 Jul 2022
    GitHub: https://github.com/krzema12/github-actions-kotlin-dsl
  • GitHub Actions Kotlin DSL
    1 project | /r/Kotlin | 20 Jan 2022

What are some alternatives?

When comparing gitlab-ci-local and github-workflows-kt you can also consider the following projects:

dagger - Application Delivery as Code that Runs Anywhere

kohttp - Kotlin DSL http client

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

setup-wsl - A GitHub action to install and setup a Linux distribution for the Windows Subsystem for Linux (WSL)

act - Run your GitHub Actions locally 🚀

maven-simple - Example Maven project demonstrating the use of

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.

nix-configs - My Nix{OS} configuration files

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

kotlinpoet - A Kotlin API for generating .kt source files.

goonstation - Repository for the Goonstation branch of SS13

github-actions-typing - Bring type-safety to your GitHub actions' API!