gitlab-ci-local VS cache

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

cache

Cache dependencies and build outputs in GitHub Actions (by actions)
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 cache
10 40
1,862 4,264
- 1.5%
9.1 7.2
7 days ago 6 days ago
TypeScript 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.

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

cache

Posts with mentions or reviews of cache. 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
    > with no persistent storage

    There's https://github.com/actions/cache though?

  • Optimizing GitHub Actions Performance: Enhance Workflows with Caching
    5 projects | dev.to | 19 Jun 2023
    Use Cache Actions: GitHub Actions provides cache actions that simplify caching implementation. The @actions/cache JavaScript library is a popular choice for managing caching in workflows. It offers flexible options for storing and retrieving cache artifacts based on keys, scopes, and paths.
  • Speeding up GitHub Actions with npm cache
    3 projects | dev.to | 1 Jun 2023
    GitHub maintain a set of repos called actions. One of which is called cache.
  • How I Sliced Deployment Times to a Fraction and Achieved Lightning-Fast Deployments with GitHub Actions
    5 projects | dev.to | 17 May 2023
    By utilizing the actions/cache action action, we implemented a strategy to store and retrieve dependencies, preventing redundant installations.
  • Use GitHub Actions to Make Your GitHub Profile Dynamic
    3 projects | news.ycombinator.com | 10 Apr 2023
    I do think it's good practice to enable caching, such that your script doesn't hit RubyGems / pip / npm / etc every time it runs.

    That way at least the automation activity stays entirely within the GitHub / Azure network.

    It looks like you can do that for Ruby by adding this:

    https://github.com/actions/cache/blob/master/examples.md#rub...

        - uses: ruby/setup-ruby@v1
  • A guide to using act with GitHub Actions
    5 projects | dev.to | 23 Mar 2023
    ➜ getting-started-with-act git:(master) act -j build WARN ⚠ You are using Apple M1 chip and you have not specified container architecture, you might encounter issues while running act. If so, try running it with '--container-architecture linux/amd64'. ⚠ [Node.js CI/build] 🚀 Start image=node:16-buster-slim [Node.js CI/build] 🐳 docker pull image=node:16-buster-slim platform= username= forcePull=false [Node.js CI/build] 🐳 docker create image=node:16-buster-slim platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] [Node.js CI/build] 🐳 docker run image=node:16-buster-slim platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] [Node.js CI/build] ☁ git clone 'https://github.com/actions/setup-node' # ref=v3 [Node.js CI/build] ☁ git clone 'https://github.com/actions/cache' # ref=v3 [Node.js CI/build] ☁ git clone 'https://github.com/actions/upload-artifact' # ref=v3 [Node.js CI/build] ⭐ Run Main actions/checkout@v3 [Node.js CI/build] 🐳 docker cp src=/Users/andrewevans/Documents/projects/getting-started-with-act/. dst=/Users/andrewevans/Documents/projects/getting-started-with-act [Node.js CI/build] ✅ Success - Main actions/checkout@v3 [Node.js CI/build] ⭐ Run Main Use Node.js 16.x [Node.js CI/build] 🐳 docker cp src=/Users/andrewevans/.cache/act/actions-setup-node@v3/ dst=/var/run/act/actions/actions-setup-node@v3/ [Node.js CI/build] 🐳 docker exec cmd=[node /var/run/act/actions/actions-setup-node@v3/dist/setup/index.js] user= workdir= [Node.js CI/build] 💬 ::debug::isExplicit: [Node.js CI/build] 💬 ::debug::explicit? false
  • duplicated cache by cache action
    2 projects | /r/github | 21 Feb 2023
  • runner image with MS office installed - do-able? is there a better way?
    2 projects | /r/github | 30 Dec 2022
    You could try to find some point in the process where you can set up Actions caches with actions/cache, otherwise Container customization for Self-Hosted Runners is currently in Beta.
  • [Question] Decrease Docker image's build time
    2 projects | /r/devops | 27 Sep 2022
    I would configure Github Actions cache so Docker doesn't have to compile all layers from scratch every time
  • The strongest principle of the blog's growth lies in the human choice to deploy it
    14 projects | dev.to | 3 Sep 2022
    In the copied example, npm caching is done via actions/cache@v2 action. But we can simplify our workflow by dropping this step and using built-in functionality for caching

What are some alternatives?

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

dagger - Application Delivery as Code that Runs Anywhere

upload-artifact

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

sccache - Sccache is a ccache-like tool. It is used as a compiler wrapper and avoids compilation when possible. Sccache has the capability to utilize caching in remote storage environments, including various cloud storage options, or alternatively, in local storage.

act - Run your GitHub Actions locally 🚀

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.

actions-runner-controller - Kubernetes controller for GitHub Actions self-hosted runners

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

setup-buildx-action - GitHub Action to set up Docker Buildx

goonstation - Repository for the Goonstation branch of SS13

checkout - Action for checking out a repo