このページは、まだ日本語ではご利用いただけません。翻訳中です。
Merge
The deck file merge command merges multiple declarative configuration files in to a single file. This is useful at the end of your pipeline when linting and validation steps are run.
Unlike deck file render, environment variables are not evaluated by deck file merge. In addition, deck file merge can operate on partial configuration files, unlike deck file render.
The provided files can be in either JSON or YAML format.
deck file merge one.yaml two.yaml -o complete.yaml
Merge algorithm
- Top level arrays are concatenated
- Top level scalar values take the value from the last file passed as an argument
deck file merge does not perform any validations.