forked from SalesforceFoundation/OutboundFundsModule
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcumulusci.yml
147 lines (131 loc) · 4.71 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
project:
name: OutboundFunds
source_format: sfdx
package:
name: Outbound Funds (Core)
namespace: outfunds
api_version: "48.0"
git:
repo_url: https://github.com/SalesforceFoundation/OutboundFundsModule
sources:
bridge:
github: https://github.com/SalesforceFoundation/OutboundFundsModuleNPSP
npsp:
github: https://github.com/SalesforceFoundation/NPSP
tasks:
# Automerge Major Release Branches
github_automerge_feature:
options:
update_future_releases: True
delete_data:
options:
objects:
- Requirement__c
- Disbursement__c
- Funding_Request__c
- Funding_Program__c
- Contact
- Account
install_sfdo_base:
class_path: cumulusci.tasks.salesforce.InstallPackageVersion
options:
name: "SFDO Base"
namespace: sfdobase
version: 1.0
robot:
options:
suites: robot/OutboundFunds/tests
options:
outputdir: robot/OutboundFunds/results
robot_libdoc:
options:
path: robot/OutboundFunds/resources/OutboundFunds.py,robot/OutboundFunds/resources/OutboundFunds.robot,robot/OutboundFunds/resources/*PageObject.py
output: robot/OutboundFunds/doc/Keywords.html
update_admin_profile:
options:
package_xml: lib/admin.profile-meta.xml
include_packaged_objects: true
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/OutboundFunds/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/OutboundFunds/resources/unpackaged/qa
flows:
config_dev:
steps:
3:
task: load_dataset
config_qa:
steps:
3:
task: load_dataset
4:
task: deploy_qa_config
5:
task: create_perms_testing_user
dev_org_2gp:
steps:
1:
flow: install_2gp_commit
2:
flow: config_dev
3:
task: snapshot_changes
customer_org:
steps:
1:
task: install_sfdo_base
2:
flow: install_prod_no_config
3:
task: bridge:install_managed
ui_options:
is_required: False
checks:
- when: "'npsp' not in tasks.get_installed_packages()"
action: hide
when: "org_config.has_minimum_package_version('npsp', '1.0')"
install_npsp:
steps:
1:
flow: npsp:install_prod
2:
task: bridge:install_managed
orgs:
scratch:
dev_namespaced:
config_file: orgs/dev.json
days: 7
namespaced: True
demo:
config_file: orgs/demo.json
days: 30
prerelease:
config_file: orgs/prerelease.json
beta_prerelease:
config_file: orgs/beta_prerelease.json
plans:
install:
slug: install
title: Install Outbound Funds Module
tier: primary
is_listed: True
preflight_message: "This will install Outbound Funds Module into your org."
post_install_message: "Thanks for installing Outbound Funds Module. Please visit the [Outbound Funds Module](https://powerofus.force.com/s/group/0F980000000CvlMCAS) community group on the Power of Us Hub for any questions about Outbound Funds Module."
error_message: "To get help with this error, go to [help.salesforce.com](https://help.salesforce.com/), find the Support & Services area, and log a technical support ticket with Salesforce. Include “Outbound Funds Module” in the subject line and include in your comment the installation link shown here."
checks:
- when: "not tasks.check_chatter_enabled()"
action: error
message: "Outbound Funds Module requires Chatter. Please enable Chatter in your org and try again."
- when: "'.my.' not in org_config.instance_url"
action: error
message: "Please enable My Domain in your org prior to installing."
steps:
1:
flow: customer_org