SFDO-Tooling / CumulusCI

Python framework for building portable automation for Salesforce projects
http://cumulusci.readthedocs.io
BSD 3-Clause "New" or "Revised" License
363 stars 242 forks source link

Add support for --load-yml to cci task and cci flow commands #3725

Open jlantz opened 10 months ago

jlantz commented 10 months ago

The BaseCumulusCI runtime has long had support for passing additional_yaml which is then added to the yaml merge stack. This functionality was used extensively in MetaCI to inject build specific configuration overrides for certain build plans. However, it was never exposed to the cci cli.

This PR adds a new --load-yml <path/to/additional.yml> option flag for all subcommands of cci task and cci flow by adding support for the option in the main command and then implementing it as an option for the cci task and cci flow commands.

This change should have no impact on existing users and is purely additive functionality that didn't exist before. I've added a docs section to the config docs explaining the use case which is included with this PR along with full test coverage.

jstvz commented 5 months ago

Fixes #3429.

jstvz commented 2 months ago

@jlantz Following up on this PR.

jlantz commented 2 months ago

I will get those two changes done and submitted this week, along with a whole bunch of new stuff to put in the review queue ;)