tailhook / vagga

Vagga is a containerization tool without daemons
http://vagga.readthedocs.org
MIT License
1.86k stars 96 forks source link

Parse Error: Alias can't be preceded by tag #501

Closed webknjaz closed 6 years ago

webknjaz commented 6 years ago

Hi, what does this error mean exactly?

.../vagga.yaml:103:18: Parse Error: Alias can't be preceded by tag (remove `!BuildDeps`)

(crashes with this on 0.8.1, works without errors on 0.8.0)

P.S. It would be nice to see changelog @ RTD, otherwise it's hard to find it (release notes is not as obvious as CHANGES.rst or CHANGELOG.rst, which are probably also picked up by gh). BTW consider using towncrier or reno to enforce PRs with change notes :)

webknjaz commented 6 years ago

Turns out that it was my mistake. I had an anchor like this:

- &app-build-deps !BuildDeps [python3.6-dev]

And fix was:

-    - !BuildDeps *app-build-deps
+    - *app-build-deps

Vagga has probably upgraded YAML parser dependency, which fails loudly now :)