gitlab_ci_parser

Crates.iogitlab_ci_parser
lib.rsgitlab_ci_parser
version0.0.5
sourcesrc
created_at2020-04-28 22:38:45.875201
updated_at2020-04-29 11:40:11.19121
descriptionA parser for .gitlab-ci.yml file format
homepage
repositoryhttps://github.com/gilescope/gitlab-ci-parser.git
max_upload_size
id235142
size18,220
Squirrel (gilescope)

documentation

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
Commit count: 21

cargo fmt