-
Notifications
You must be signed in to change notification settings - Fork 8
/
cumulusci.yml
169 lines (156 loc) · 5.46 KB
/
cumulusci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
minimum_cumulusci_version: '3.36.0'
project:
name: DataGenerationToolkit
package:
name: DataGenerationToolkit
api_version: '53.0'
git:
default_branch: 'main/'
source_format: sfdx
sources:
eda:
github: https://github.com/SalesforceFoundation/EDA
npsp:
github: https://github.com/SalesforceFoundation/NPSP
sal:
github: https://github.com/SalesforceFoundation/SAL-CumulusCI
pmm:
github: https://github.com/SalesforceFoundation/PMM
obf:
github: https://github.com/SalesforceFoundation/OutboundFundsModule
osc_memberships:
github: https://github.com/SFDO-Community-Sprints/MembershipSchemaAndBenefits
# cci flow run osc_memberships:dev_org --org dev
# assign Manage_Memberships perm set
orgs:
scratch:
eda:
config_file: orgs/eda.json
days: 7
npc:
config_file: orgs/npc.json
days: 7
edc:
config_file: orgs/edcloud.json
days: 7
tasks:
robot:
options:
suites: robot/DataGenerationToolkit/tests
options:
outputdir: robot/DataGenerationToolkit/results
robot_testdoc:
options:
path: robot/DataGenerationToolkit/tests
output: robot/DataGenerationToolkit/doc/DataGenerationToolkit_tests.html
run_tests:
options:
required_org_code_coverage_percent: 75
npsp_account:
group: NPSP
class_path: cumulusci.tasks.bulkdata.generate_and_load_data_from_yaml.GenerateAndLoadDataFromYaml
options:
generator_yaml: snowfakery_samples/npsp/Account_npsp.recipe.yml
npsp_contact:
class_path: cumulusci.tasks.bulkdata.generate_and_load_data_from_yaml.GenerateAndLoadDataFromYaml
group: NPSP
options:
generator_yaml: snowfakery_samples/npsp/Contact_npsp.recipe.yml
activate_standard_pricebook:
description: Activate standard price book
class_path: cumulusci.tasks.apex.anon.AnonymousApexTask
options:
apex: >
pricebook2 book = [SELECT Id FROM pricebook2 WHERE isStandard = true];
book.isActive = true;
update book;
load_membership_products:
class_path: cumulusci.tasks.bulkdata.generate_and_load_data_from_yaml.GenerateAndLoadDataFromYaml
group: OSC
options:
generator_yaml: snowfakery_samples/OSC/MembershipSchemaAndBenefits_PricebookProducts.recipe.yml
load_membership_opportunities:
class_path: cumulusci.tasks.bulkdata.generate_and_load_data_from_yaml.GenerateAndLoadDataFromYaml
group: OSC
options:
generator_yaml: snowfakery_samples/OSC/MembershipSchemaAndBenefits.recipe.yml
num_records: 10
num_records_tablename: Opportunity
npsp_settings:
class_path: cumulusci.tasks.bulkdata.generate_and_load_data_from_yaml.GenerateAndLoadDataFromYaml
options:
generator_yaml: snowfakery_samples/npsp/NPSP_Settings.recipe.yml
eda_org_alias:
description: create a new eda org alias
class_path: cumulusci.cli
options:
command: "cci org scratch dev eda"
flows:
osc_memberships_project:
description: OSC Membership Schema and Benefits project
steps:
1:
task: activate_standard_pricebook
2:
task: load_membership_products
3:
task: load_membership_opportunities
npsp_org:
steps:
1:
task: npsp_account
2:
task: npsp_contact
# cci flow run npsp_scratch -o npsp_settings__num_records 2 would set a particular option for the subflow
npsp_scratch:
description: Requires default org to be set. Installs npsp and creates a bunch of default settings to make the data look more realistic
steps:
1:
flow: npsp:install_prod
options:
org: dev
2:
flow: npsp:enable_rd2_managed
3:
task: generate_and_load_from_yaml
options:
generator_yaml: snowfakery_samples/npsp/NPSP_Settings.recipe.yml
pmm_scratch:
description: install PMM package independent of NPSP
steps:
1:
flow: pmm:install_prod
options:
org: dev
obf_scratch:
description: install Outbound Funds Module independent of NPSP
steps:
1:
flow: obf:install_prod
options:
org: dev
obf_npsp_scratch:
description: install Outbound Funds Module with NPSP extension
steps:
1:
flow: obf:install_prod
options:
org: dev
2:
flow: obf:install_npsp
eda_scratch:
# $ cci flow run eda_scratch --org eda
description: install Education Data Architecture.
steps:
1:
flow: eda:install_prod
options:
org: eda
sal_eda_scratch:
# $ cci flow run sal_eda_scratch --org eda
description: install Advisor Link with Education Data Architecture dependencies.
steps:
1:
flow: sal:install_prod
options:
org: eda