Snowfakery-Recipe-Templates icon indicating copy to clipboard operation
Snowfakery-Recipe-Templates copied to clipboard

Add example cci project

Open umeditor opened this issue 3 years ago • 6 comments

As a contributor to the project, I want an example cci project so I can easily spin up new eda-based or npsp-baed scatch orgs for testing and developing snowfakery recipes.

umeditor avatar Jun 10 '21 17:06 umeditor

It is possible to add an example cci project, but its files must be located in the repos root, which clutters things up. I tried moving it to a sub-folder, but cci complained with The file cumulusci.yml was not found in the repo root: /Users/mcneal/src/DataGenerationToolkit. Are you in a CumulusCI Project directory?

umeditor avatar Jun 10 '21 17:06 umeditor

@umeditor @samanthashain @acrosman We talked about this on Day 2 briefly that everyone was creating a cloned local repo in order to load the recipe to a test org. Grassroot Mobile Survey team has more than 1 repo for their project linked through Readme.md and Wiki page. Potentially we can discuss this in our next meeting. I love to have a repo for cci project init

eehjunggnujhee avatar Jun 22 '21 02:06 eehjunggnujhee

I agree this should be part of our agenda for our next meeting. A second repo mid-Sprint with a bunch of open pull requests and more expected would have been a major challenge, but between Sprints is the perfect time to make such a move if we are in agreement (which I expect we'll find we are, but we should talk it through to be sure). Having that repo be a usable CCI project of some kind (easily modified for a variety of use cases) would be useful. How exactly we make that happen isn't clear to me today – but that's why we have a whole group to draw on for ideas and insights.

acrosman avatar Jun 22 '21 14:06 acrosman

The easiest way to do this is to make a CumulusCI.yml with multiple flows like:

eda_org npsp_org pmm_org

So you'd run

cci flow run eda_org --org qa

prescod avatar Jul 07 '21 18:07 prescod

@prescod We resolved this by offering flows installing NPSP or EDA dependency to a scratch org. I just want to make sure we are okay to close this issue.

eehjunggnujhee avatar Aug 24 '21 01:08 eehjunggnujhee

I think we have related issues to this one in this project already, but I transferred this over from the other project since it is about supporting the recipes.

acrosman avatar Nov 12 '21 15:11 acrosman