generated from madmax983/sfdx-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcumulusci.yml
146 lines (140 loc) · 5.29 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
minimum_cumulusci_version: '3.1.0'
project:
name: CCI-EDA-POC
package:
name: Cumulus EDA POC
namespace: cumuluspoc
api_version: '51.0'
source_format: sfdx
git:
repo_url: "https://github.com/madmax983/cumulus-eda-poc"
dependencies:
- github: https://github.com/SalesforceFoundation/EDA
sources:
eda:
github: https://github.com/SalesforceFoundation/EDA
tasks:
robot:
options:
suites: robot/CCI-Food-Bank/tests
options:
outputdir: robot/CCI-Food-Bank/results
robot_testdoc:
options:
path: robot/CCI-Food-Bank/tests
output: robot/CCI-Food-Bank/doc/CCI-Food-Bank_tests.html
deploy_qa:
class_path: cumulusci.tasks.salesforce.Deploy
options:
path: unpackaged/config/qa
flows:
ci_feature:
steps:
0.5:
task: None
qa_unlocked_build:
description: Upload and install an unlocked package
steps:
1:
task: create_package_version
options:
package_type: Unlocked
package_name: CumulusEDAPOC-UnlockedOrgDependent
org_dependent: True
version_type: minor
2:
task: promote_package_version
options:
version_id: ^^create_package_version.subscriber_package_version_id
promote_dependencies: True
qa_unlocked_install:
description: Install the current unlocked pacakge in a QA test org.
steps:
1:
task: update_dependencies
2:
task: update_admin_profile
options:
record_types:
- record_type: "Account.Administrative"
default: true
- record_type: "Account.Academic_Program"
- record_type: "Account.Business_Organization"
- record_type: "Account.Educational_Institution"
- record_type: "Account.HH_Account"
- record_type: "Account.Sports_Organization"
- record_type: "Account.University_Department"
release_package:
description: Release a 2GP Managed Package
steps:
1:
task: create_package_version
options:
package_type: Managed
package_name: $project_config.project__package__name
skip_validation: False
ancestor_id: latest_github_release
version_base: latest_github_release
version_type: minor
2:
task: promote_package_version
options:
version_id: ^^create_package_version.subscriber_package_version_id
promote_dependencies: True
3:
task: github_release
options:
version: ^^create_package_version.version_number
version_id: ^^create_package_version.version_id
package_type: 2GP
4:
task: github_release_notes
ignore_failure: True # Attempt to generate release notes but don't fail build
options:
link_pr: True
publish: True
tag: ^^github_release.tag_name
include_empty: True
version_id: ^^create_package_version.subscriber_package_version_id
install_package:
description: Install the current unlocked pacakge in a QA test org.
steps:
1:
task: update_dependencies
2:
task: update_admin_profile
options:
record_types:
- record_type: "Account.Administrative"
default: true
- record_type: "Account.Academic_Program"
- record_type: "Account.Business_Organization"
- record_type: "Account.Educational_Institution"
- record_type: "Account.HH_Account"
- record_type: "Account.Sports_Organization"
- record_type: "Account.University_Department"
3:
task: install_managed
dev_org:
steps:
5:
task: update_admin_profile
options:
record_types:
- record_type: "Account.Administrative"
default: true
- record_type: "Account.Academic_Program"
- record_type: "Account.Business_Organization"
- record_type: "Account.Educational_Institution"
- record_type: "Account.HH_Account"
- record_type: "Account.Sports_Organization"
- record_type: "Account.University_Department"
plans:
install:
slug: install
title: Install CCI Food Bank
tier: primary
is_listed: True
steps:
1:
flow: install_prod