-
Notifications
You must be signed in to change notification settings - Fork 0
/
cumulusci.yml
178 lines (153 loc) · 4.91 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
167
168
169
170
171
172
173
174
175
176
177
178
project:
# Update Name, Package > Name and Git > Repo_URL accordingly
# Name, Package > Name should be the same
name: CumulusCI-Template
package:
name: CumulusCI-Template
# Ensure this api_version matches the version in sfdx-project.json
api_version: "62.0"
git:
repo_url: https://github.com/geekstewie/CumulusCI-Template
source_format: sfdx
custom:
# Update these with owner information
owner:
owner_email:
documentation_url:
# Managed and Unmanaged Salesforce Packages can be defined here (Recommended to use the 18 character reference which will start with 04t)
# If you only have the 15 character version, go here: https://www.adminbooster.com/tool/15to18
dependencies:
# Example
# - version_id: 04t234234234
sources:
# Add other CCI projects here as sources. If the other project are based on this template, simple call the flow my_source_alias:deploy_solution in the flow steps below.
# Example
#my_source_alias:
# github: https://github.com/geekstewie/CumulusCI-Template
tasks:
# Task Defaults - Typically leave these as is
robot:
options:
suites: robot/included/tests
options:
outputdir: robot/included/results
robot_testdoc:
options:
path: robot/included/tests
output: robot/included/doc/CumulusCI-Template_tests.html
run_tests:
options:
required_org_code_coverage_percent: 75
deploy:
options:
path: force-app
load_dataset:
options:
ignore_row_errors: true
drop_missing_schema: true
set_recently_viewed: true
list_changes:
options:
exclude:
- FeatureParameter
- "AuraDefinition:"
- "SiteDotCom:"
- "ManagedTopics:"
- "LiveChatTranscript:"
- "ExperienceResource:"
- "AppMenu:"
- "Profile:"
- "FlowDefinition:"
retrieve_changes:
options:
exclude:
- FeatureParameter
- "AuraDefinition:"
- "SiteDotCom:"
- "ManagedTopics:"
- "LiveChatTranscript:"
- "ExperienceResource:"
- "AppMenu:"
- "Profile:"
- "FlowDefinition:"
# Example Task
run_robot_automation:
class_path: cumulusci.tasks.robotframework.Robot
options:
suites: robot/included/tests/create_contact.robot
test: Validate Contact
# Comment out the following lines if testing
vars: browser:headlesschrome
options:
report: None
log: None
output: None
# Custom Tasks - Add below
flows:
# Custom Flows - Add below
# Tasks to do BEFORE the main deployment
prepare_environment:
steps:
1:
# Deploy Packages referenced in Dependencies above
task: update_dependencies
2:
# Deploy Items in unpackaged/pre (if any)
task: deploy_pre
# Tasks to do AFTER the main deployment
post_deployment:
steps:
1:
# Deploy Items in unpackaged/post (if any)
task: deploy_post
2:
task: None
# Example deploying permission sets to the admin user (recommended you create one for the solution)
#task: assign_permission_sets
#options:
# api_names:
# - PermissionSet123
# Default Deploy Flow - Typically leave as is
deploy_solution:
steps:
1:
flow: prepare_environment
2:
task: deploy
3:
flow: post_deployment
4:
task: snapshot_changes
when: org_config.scratch
# Flow Overrides - Typically Leave as is
deploy_unmanaged:
steps:
6:
task: None # Prevents uninstall_packaged_incremental from running
deploy_unmanaged_ee:
steps:
6:
task: None # Prevents uninstall_packaged_incremental from running
orgs:
# Scratch Org Defaults
scratch:
dev:
config_file: orgs/dev.json
days: 30
namespaced: False
qa:
config_file: orgs/dev.json
days: 30
namespaced: False
feature:
config_file: orgs/feature.json
days: 14
namespaced: False
beta:
config_file: orgs/beta.json
days: 7
namespaced: False
release:
config_file: orgs/release.json
days: 7
namespaced: False