-
Notifications
You must be signed in to change notification settings - Fork 238
/
cumulusci.yml
155 lines (137 loc) · 4.17 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
minimum_cumulusci_version: "3.41.0"
project:
name: DLRS
package:
name: Declarative Lookup Rollup Summaries Tool
namespace: dlrs
api_version: "62.0"
git:
repo_url: https://github.com/SFDO-Community/declarative-lookup-rollup-summaries
prefix_beta: beta/
prefix_release: release/
default_branch: main
source_format: sfdx
tasks:
deploy_test_config:
class_path: cumulusci.tasks.salesforce.Deploy
options:
path: unpackaged/config/test
deploy_test_triggers:
class_path: cumulusci.tasks.salesforce.Deploy
options:
path: unpackaged/config/test_triggers
deploy_qa_config:
class_path: cumulusci.tasks.salesforce.Deploy
options:
path: unpackaged/config/qa
snowfakery_highratio_custom:
description: Create a sample dataset for main objects in CSOM EDA org
class_path: cumulusci.tasks.bulkdata.snowfakery.Snowfakery
options:
recipe: datasets/qa/high-ratio-tests-custom-object.yml
snowfakery_highratio_standard:
description: Create a sample dataset for main objects in CSOM EDA org
class_path: cumulusci.tasks.bulkdata.snowfakery.Snowfakery
options:
recipe: datasets/qa/high-ratio-tests-stand-object.yml
snowfakery_lowratio:
description: Create a sample dataset for main objects in CSOM EDA org
class_path: cumulusci.tasks.bulkdata.snowfakery.Snowfakery
options:
recipe: datasets/qa/snowfakerylowratio.yml
robot:
options:
suites: robot/DLRS/tests
options:
outputdir: robot/DLRS/results
robot_testdoc:
options:
path: robot/DLRS/tests
output: robot/DLRS/doc/DLRS_tests.html
run_tests:
options:
# Preserve existing code coverage level
required_org_code_coverage_percent: 87
retry_failures:
- "unable to obtain exclusive access to this record"
- "UNABLE_TO_LOCK_ROW"
retry_always: True
flows:
ci_beta:
steps:
1.5:
task: deploy_test_config
ci_release:
steps:
1.5:
task: deploy_test_config
config_apextest:
steps:
3:
task: deploy_test_config
3.1:
task: deploy_test_triggers
qa_org:
steps:
4:
task: deploy_qa_config
5:
task: assign_permission_sets
options:
api_names: DLRSQAPermissions
6:
task: execute_anon
options:
apex: QAHelper.updateAppMenuOrdering();
7:
task: snowfakery_lowratio
8:
task: snowfakery_highratio_standard
9:
task: snowfakery_highratio_custom
customer_org:
steps:
1:
task: install_managed
options:
security_type: NONE
deploy_unmanaged:
steps:
0:
task: dx_convert_from
options:
extra: "--sourcepath ./dlrs/libs/fflib-apexmocks,./dlrs/libs/fflib-common,./dlrs/libs/lrengine,./dlrs/libs/metadataservice,./dlrs/main"
3.1:
task: dx_push
3.2:
task: deploy_test_triggers
deploy_packaging:
steps:
0:
task: dx_convert_from
options:
extra: "--sourcepath ./dlrs/libs/fflib-apexmocks,./dlrs/libs/fflib-common,./dlrs/libs/lrengine,./dlrs/libs/metadataservice,./dlrs/main"
orgs:
scratch:
dev_prerelease:
config_file: orgs/dev_prerelease.json
days: 7
beta_prerelease:
config_file: orgs/beta_prerelease.json
days: 7
dev_namespaced:
config_file: orgs/dev.json
namespaced: True
days: 7
plans:
install:
slug: install
title: Install Declarative Lookup Rollup Summaries (DLRS)
tier: primary
is_listed: True
preflight_message: "This will install Declarative Lookup Rollup Summaries (DLRS) in your org."
post_install_message: "Thanks for installing Declarative Lookup Rollup Summaries (DLRS). Please visit the [DLRS Trailblazer Community group](https://trailhead.salesforce.com/trailblazer-community/groups/0F9300000009O5pCAE?tab=discussion) for any questions about DLRS."
error_message: "To get help with this error, visit the [DLRS Trailblazer Community group](https://trailhead.salesforce.com/trailblazer-community/groups/0F9300000009O5pCAE?tab=discussion)."
steps:
1:
flow: customer_org