Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gilescope/gitlab-ci-parser

A rust parser for some subset of .gitlab-ci.yml
https://github.com/gilescope/gitlab-ci-parser

Last synced: about 1 month ago
JSON representation

A rust parser for some subset of .gitlab-ci.yml

Awesome Lists containing this project

README

        

# gitlab-ci-parser

Parses a .gitlab-ci.yml file and makes a semantic model from it.
(E.g. Jobs are linked to their parents.)

**ALPHA**

PRs wellcome - currently it only parses what I need. I'm using it as the basis of an offline gitlab runner called `hamster`.

* .extends is supported.
* yaml merge << and anchors work within the same file.
* remote includes are assumed to be checked out in a sister directory.
(It doesn't validate that they are the correct branch / revision)

Dual licensed: MIT + Apache 2.

Changelog:

* v0.0.5 Bugfix: include wasn't working in same dir.
* v0.0.4 Fix repo url
* v0.0.3 Crates release
* v0.0.2 Gitlab with includes
* v0.0.1 Gitlab without includes