We have a GitLab instance at gitlab.host up-and-running. The project that we are moving there comes from GitHub.
On GitHub I was able to create a simple pipeline with an ansible-lint step in it without additional costs. Is this also possible with GitLab?
I copied an example .gitlab-ci.yml file to start with similar to below.
—
stages:
- lint
job-lint:
image:
name: cytopia/ansible-lint:latest
entrypoint: ["/bin/sh", "-c"]
stage: lint
script:
- ansible-lint --version
- ansible-lint . -x 106 tasks/*.yml
The problem is however that the job will be stuck in pending state waiting for “runners”. To create runners I have to setup a Kubernetes cluster which will cause extra costs.
Does GitLab a free option similar to GitHub for these kinds of simple checks?