forked from charise/Volunteers-for-Salesforce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cumulusci.yml
93 lines (80 loc) · 2.94 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
project:
name: Volunteers-for-Salesforce
package:
name: Volunteers for Salesforce
namespace: GW_Volunteers
git:
prefix_release: rel/
tasks:
browsertests_chrome:
description: Runs the Ruby/Watir browser tests in the browsertests folder using Chrome
class_path: cumulusci.tasks.command.SalesforceBrowserTest
options:
command: 'cd browser_tests; bundle install --quiet; bundle exec cucumber --format pretty --format junit --out ../junit -c features/ --tags ~@firefox --tags ~@flaky'
dir: '.'
env:
SELENIUM_BROWSER: chrome
download_browser_tests:
description: Downloads the browser tests from the HEDA-Browser-Tests Github repository.
class_path: cumulusci.tasks.util.DownloadZip
options:
url: 'https://github.com/SalesforceFoundation/V4S-Browser-Tests/archive/master.zip'
dir: browser_tests
subfolder: V4S-Browser-Tests-master
deploy_dev_config:
description: Deploys the post install configuration for an unmanaged DE org
class_path: cumulusci.tasks.salesforce.Deploy
options:
path: dev_config/src
deploy_dev_config_managed:
description: Deploys the post install configuration for a managed DE org
class_path: cumulusci.tasks.salesforce.Deploy
options:
path: dev_config/src_managed
deploy_dev_config_delete:
description: Deploys the metadata deletions for the post install DE org config
class_path: cumulusci.tasks.salesforce.Deploy
options:
path: dev_config/delete
flows:
browsertests_chrome:
description: Runs the browser tests locally against a managed package in Chrome
tasks:
1:
task: download_browser_tests
2:
task: browsertests_chrome
browsertests_chrome:
description: Runs the browser tests locally against a managed package in Chrome
tasks:
1:
task: download_browser_tests
2:
task: browsertests_chrome
ci_browsertests_chrome:
description: Runs the browser tests locally against a managed package in Chrome
tasks:
1:
task: download_browser_tests
2:
task: browsertests_chrome
options:
use_saucelabs: True
ci_feature:
description: Deploys the unmanaged package metadata and all dependencies to the target org and runs tests
tasks:
5:
task: None
dev_org:
tasks:
8:
task: deploy_dev_config_delete
9:
task: deploy_dev_config
orgs:
scratch:
dev_namespaced:
config_file: orgs/dev.json
namespaced: True
browsertest_classic:
config_file: orgs/browsertest_classic.json