coreos / butane

Butane translates human-readable Butane Configs into machine-readable Ignition Configs.
https://coreos.github.io/butane/
Apache License 2.0
255 stars 70 forks source link

base/v0_6_exp: add parent directory sugar #508

Open prestist opened 9 months ago

prestist commented 9 months ago

Add a field called 'Parent' which is used to specify a file's parent directory. When a parent is specified, all directories from the parent to the file will be created, with the 'mode' supplied in the parent directory.

prestist commented 9 months ago

still adding unit tests and cleaning up code.

prestist commented 9 months ago

Ooof, ok

Looking at other tests they correctly have a storage translation set

you can see this here with this TestTranslateMountUnit but for some reason, this one test is .. not? it has all of the translations minus "$.storage" I will need to look into this.

prestist commented 4 months ago

@yasminvalim windows weird ci has been fixed, now we can start addressing issues brought up by @jlebon.