Gitlab-ci cli to validate .gitlab-ci.yml files
python3 setup.py install
gitlab-ci-lint --help
Usage: gitlab-ci-lint [OPTIONS]
Options:
--url TEXT The url for your gitlab server, e.g:
https://gitlab.example.com [required]
--filename, --f PATH Your .gitlab-ci.yml file, e.g .gitlab-ci.yml
[required]
--help Show this message and exit.
gitlab-ci-lint --url https://gitlab.com .gitlab-ci.yml