-
Notifications
You must be signed in to change notification settings - Fork 0
/
.probo.yaml
22 lines (22 loc) · 1.16 KB
/
.probo.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
assets:
- fond.sql.gz
steps:
- name: ProboCI site setup
plugin: Drupal
makeFile: build-fond-dev.make
database: fond.sql.gz
databaseGzipped: true
databaseUpdates: true
revertFeatures: true
- name: Make directory for site
command: 'mkdir /var/www/html/sites/fond.vih.dk; mkdir /var/www/html/sites/fond.vih.dk/files; mkdir /var/www/html/sites/fond.vih.dk/private; mkdir /var/www/html/sites/fond.vih.dk/private/temp'
- name: Fix permissions
command: 'chown -R www-data:www-data /var/www/html/sites/fond.vih.dk; chmod 777 -R /var/www/html/sites/fond.vih.dk'
- name: Generate login link
command: 'drush --root="/var/www/html" uli'
- name: Enable stage_file_proxy
command: 'drush --root="/var/www/html" en stage_file_proxy -y; drush variable-set stage_file_proxy_origin "http://fond.vih.dk"; drush variable-set stage_file_proxy_hotlink 1'
- name: Reroute e-mails
command: 'drush --root="/var/www/html" en reroute_email -y; drush variable-set reroute_email_enable 1; drush variable-set reroute_email_address "[email protected]"'
- name: Disable certain modules
command: 'drush --root="/var/www/html" pm-disable googleanalytics'