I've spun up a bare-bones CumulusCI scratch org where cumulusci.yml
says:
dependencies:
- github: https://github.com/SalesforceFoundation/EDA
- github: https://github.com/SFDO-Community/Summit-Events-App
Once I spin it up, I'd love to load it with data from 1. EDA's sample data and 2. either this Summit events Sample data or this one (I haven't decided which yet).
I want to write up a proof of concept of:
"How to use SFDMU and Python to grab your latest validation table data out of production and parse it into lines of code appropriate for a CCI
dataset.sql
file and amapping.yml
file."
(Some colleagues have been struggling to keep the dataset.sql
and mapping.yml
files of a large in-house package's codebase up-to-date under rapid emergency changes to production data structures and data. I think that SFDMU's features like SELECT readonly_false
might be able to keep up with harsh realities and help serve as a "feeder" from production into dataset.sql
and mapping.yml
files.)
But to start playing, I need a fake production org with a bunch of data in various "validation tables."
I don't feel like doing data entry, so spinning up a scratch org and data-loading in other people's sample datasets seems like a good substitute for an actual production org as I figure out what I want to write up as instructions for "prod to SQL."
Not sure how to dataload dependencies' datasets into a scratch org with CumulusCI, though? Most of the docs seem to be oriented toward when a dataset is part of your project rather than just wanting to play with one of your dependencies' sample data while you experiment architecturally.