Run gitlab-ci locally

Problem to solve

As a developer, I want to be able to run CI/CD tests locally; with minimal effort.

Intended users

Developers

User experience goal

The user should have a way of running .gitlab-ci.yml locally.

Proposal

There should be a tool that lets me run this on my repo. It would know how to use my libvirt/docker/podman/minikube setup in order to deploy what it requires to run the tests locally. Once the tests pass locally, I can push and have CI/CD pass.

Further details

I don't want to be using resources while debugging a build or test run. I'd like to be able to do that locally so I can save resources for finished work. Also, I would like to have full-cycle builds and tests locally; based on my .gitlab-ci.yml

What does success look like, and how can we measure that?

  • I run the tool and it reads my .gitlab-ci.yml file. It deploys the app onto minikube since it discovered it.
  • I run the tool and it reads my .gitlab-ci.yml file. It deploys using podman since it saw I have it installed and have the rights to it.

What is the type of buyer?

Every team interested in not wasting so much resources with failed builds would be interested.