-
Notifications
You must be signed in to change notification settings - Fork 3
/
pantheon.yml
48 lines (43 loc) · 1.69 KB
/
pantheon.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
api_version: 1
web_docroot: true
php_version: 7.0
workflows:
# Code Sync: Making Magic Happen With Each Commit
sync_code:
after:
- type: webphp
description: posting to Slack about the commit
script: private/scripts/slack_after_code_push.php
- type: webphp
description: importing the WP-CFM config into the site
script: private/scripts/import_config_wp.php
# Deploy: Making Magic Happen in the Test Environment
deploy:
before:
- type: webphp
description: posting to Slack about the deployment
script: private/scripts/slack_notification.php
after:
- type: webphp
description: importing the WP-CFM config into the site
script: private/scripts/import_config_wp.php
#- type: webphp
# description: running a cross browser test with Spotbot.qa
# script: private/scripts/spotbot_visualregression.php
#- type: webphp
# description: running a visual regression test with Backtrac.io
# script: private/scripts/backtrac_visualregression.php
#- type: webphp
# description: running a performance test with Loadimpact.com
# script: private/scripts/loadimpact_performance.php
- type: webphp
description: Log to New Relic
script: private/scripts/new_relic_deploy.php
- type: webphp
description: Run Behat tests on Circle CI
script: private/scripts/circle_ci_behat.php
clone_database:
after:
- type: webphp
description: Pull environment specific config using wp-cfm after cloning db
script: private/scripts/import_config_wp.php