This repository has been archived by the owner on Jan 25, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcumulusci.yml
130 lines (117 loc) · 4.52 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
minimum_cumulusci_version: '3.23.0'
project:
name: EDU-RA-Chatbot
package:
name: EDU-RA-Chatbot
api_version: '50.0'
dependencies:
- github: 'https://github.com/SalesforceFoundation/omega'
git:
repo_url: https://github.com/SalesforceFoundation/EDU-RA-Chatbot
source_format: sfdx
sources:
eda:
github: 'https://github.com/SalesforceFoundation/eda'
omega:
github: 'https://github.com/SalesforceFoundation/omega'
tasks:
robot:
options:
suites: robot/EDU-RA-Chatbot/tests
options:
outputdir: robot/EDU-RA-Chatbot/results
robot_testdoc:
options:
path: robot/EDU-RA-Chatbot/tests
output: robot/EDU-RA-Chatbot/doc/EDU-RA-Chatbot_tests.html
run_tests:
options:
required_org_code_coverage_percent: 75
test_data_managed_org:
description: Loads a basic data set into orgs with the Admissions Connect managed package and namespaced scratch orgs for most EDA objects
class_path: cumulusci.tasks.bulkdata.LoadData
group: "Data Operations"
options:
sql_path: datasets/dev/sample_data.sql
mapping: datasets/dev/mapping.managed.yml
load_document_files:
group: "Omega: Custom Data Tasks"
description: Loads document files to Salesforce
class_path: tasks.load_document_files.LoadDocumentFiles
options:
document_file_dir: "datasets/dev/document_files"
deploy_omega_config:
description: Deploys configuration for Development from /unpackaged/config/dev
class_path: cumulusci.tasks.salesforce.Deploy
group: "Salesforce Metadata"
options:
namespace_inject: randa
path: unpackaged/config/dev
unmanaged: false
flows:
dependencies:
steps:
3:
flow: omega:assign_permission_sets
4:
flow: omega:install_templates_and_fieldsets
8:
flow: build_ac_data
build_ac_data:
description: Build test data for Action Plans
steps:
2:
task: deploy_omega_config
4:
task: test_data_managed_org
6:
task: load_document_files
8:
task: omega:deploy_optional_metadata
10:
task: omega:execute_actionplantemplate_apex
12:
task: omega:execute_actionplans_apex
14:
task: omega:execute_actionplanmapping_apex
16:
task: omega:execute_actionplantemplate_apex
options:
apex: buildActionPlanTemplates(False);
customer_org_minimal:
description: Installation flow used by MetaDeploy installer.
steps:
1:
task: deploy
options:
path: force-app/
ui_options:
name: "Install Admissions Connect Chatbot"
customer_org:
steps:
1:
flow: dependencies
2:
flow: customer_org_minimal
plans:
install:
slug: install
title: Install Admissions Connect Chatbot
tier: primary
is_listed: True
preflight_message: "This installs Admissions Connect Chatbot into your org."
post_install_message: "Thanks for installing Admissions Connect Chatbot. Visit the [Admissions Connect topic](https://powerofus.force.com/s/topic/0TO1E000000EA4xWAG/admissions-connect) on the Power of Us Hub for any questions about Admissions Connect."
error_message: "If you experience an issue with installation, please post in the [Power of Us Hub](https://powerofus.force.com/s/topic/0TO1E000000EA4xWAG/admissions-connect)."
checks:
- when: '"randa" not in org_config.installed_packages'
action: error
message: "Admissions Connect must be installed in your org before installation."
- when: '"sfdc_chatbot_service_permset" not in tasks.get_available_permission_sets()'
action: error
message: "Einstein Bots must be enabled in your org before installation."
- when: '"Knowledge__kav" not in tasks.check_sobjects_available()'
action: error
message: "Lightning Knowledge must be enabled in your org before installation."
steps:
1:
flow: customer_org_minimal