herrjulz / aviator

Merge YAML/JSON files in a in a convenient fashion based on a configuration file called aviator.yml
MIT License
60 stars 7 forks source link

Updating from v0.17.0 to v0.18.0 issue #27

Closed qu1queee closed 6 years ago

qu1queee commented 6 years ago

Hi Julz,

I just updated to v0.18.0 and my aviator file is breaking when doing the fly feature. The following config:

fly:
  config: /tmp/final-pipeline.yml
  name: $PIPELINE
  target: $TARGET
  vars:
  - vars.yml

was working fine under v0.17.0, however when upgrading the version, that same part broke with the following:

YAML Parsing Failed: yaml: unmarshal errors:
  line 15: cannot unmarshal !!seq into map[string]string

Have you seen this behaviour?

herrjulz commented 6 years ago

Hi @qu1queee,

yes I see. Please note the "breaking changes" in the release notes of the latest aviator release.

The functionality of the vars property was renamed to load_vars_from and the functionality of vars is now a different one. It was renamed to match the cli flags of the fly CLI. You can check them here: https://concourse-ci.org/setting-pipelines.html#fly-set-pipeline (5.4.1.1.1 Pipeline ((params)))

qu1queee commented 6 years ago

thanks! Closing this cause is not longer valid.