-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathcumulusci.yml
125 lines (110 loc) · 3.66 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
project:
name: OutboundFundsNPSP
package:
name: Outbound Funds (npsp)
namespace: outfundsnpspext
api_version: "52.0"
dependencies:
- github: "https://github.com/SalesforceFoundation/NPSP"
- github: "https://github.com/SalesforceFoundation/OutboundFundsModule"
dependency_resolutions:
preproduction: commit_status
git:
repo_url: "https://github.com/SalesforceFoundation/OutboundFundsModuleNPSP"
source_format: sfdx
orgs:
scratch:
dev_namespaced:
config_file: orgs/dev.json
days: 7
namespaced: True
prerelease:
config_file: orgs/prerelease.json
beta_prerelease:
config_file: orgs/beta_prerelease.json
2gp:
config_file: orgs/2gp.json
tasks:
# Automerge Major Release Branches
github_automerge_feature:
options:
update_future_releases: True
# Require Apex Code Coverage
run_tests:
options:
retry_failures:
- "unable to obtain exclusive access to this record"
- "UNABLE_TO_LOCK_ROW"
retry_always: True
required_per_class_code_coverage_percent: "95"
robot:
options:
suites: robot/OutboundFundsNPSP/tests
options:
outputdir: robot/OutboundFundsNPSP/results
robot_libdoc:
options:
path: robot/OutboundFundsNPSP/resources/OutboundFundsNPSP.py,robot/OutboundFundsNPSP/resources/OutboundFundsNPSP.robot,robot/OutboundFundsNPSP/resources/*PageObject.py
output: robot/OutboundFundsNPSP/doc/Keywords.html
load_storytelling_data:
class_path: cumulusci.tasks.bulkdata.LoadData
description: ""
options:
mapping: datasets/mapping.yml
sql_path: datasets/data.sql
extract_storytelling_data:
class_path: cumulusci.tasks.bulkdata.ExtractData
description: ""
options:
mapping: datasets/mapping.yml
sql_path: datasets/data.sql
robot_deploy_layouts:
class_path: cumulusci.tasks.salesforce.Deploy
description: "Deploy Page Layouts for Robot Test"
options:
path: robot/OutboundFundsNPSP/resources/layouts
create_perms_testing_user:
description: Creates a test user for testing permissions.
class_path: cumulusci.tasks.sfdx.SFDXOrgTask
options:
command: "force:user:create -a permtest --definitionfile robot/OutboundFundsNPSP/resources/qa_org/users/perms_test_user.json"
deploy_qa_config:
description: Deploys additional fields used for QA purposes only
class_path: cumulusci.tasks.salesforce.Deploy
group: Salesforce Metadata
options:
path: robot/OutboundFundsNPSP/resources/unpackaged/qa
flows:
config_dev:
steps:
3:
task: load_storytelling_data
config_qa:
steps:
3:
task: load_storytelling_data
4:
task: robot_deploy_layouts
5:
task: deploy_qa_config
6:
task: create_perms_testing_user
config_managed:
steps:
3:
task: load_storytelling_data
2gp_org:
steps:
1:
flow: install_2gp_commit
2:
flow: config_managed
3:
task: snapshot_changes
ci_beta:
steps:
1:
flow: dependencies
options:
update_dependencies:
resolution_strategy: include_beta