Buildkite pipeline upload translates unquoted yes to boolean true

Hi,

Ive noticed that buildkite pipeline upload translates unquoted yes to boolean true. To test, upload pipeline with a field, say an env mapping as ENVVAR: yes.

I can see this is happening because i print the pipeline before upload, and then i compare with the piepline thats displayed in the timeline tab.

Is this a known issue?

Thanks.

Hi there!

This is actually expected behaviour. When unquoted, YAML treats yes as a boolean because it is considered a YAML keyword. If you enclose yes in quotes, it becomes a string.

Hope that helps!

Jeremy

Understood. However it seems to be the case that this is a yaml 1.1 thing, and in the recent spec its been constrained.

Just an fyi.

My problem is that my yaml generator (cue) wont quote properly when i tell it to.