Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.

Commit 38bd427

Browse files
committed
Merge branch 'Updating-cron-path-fixing-mailto' into Updating-cron-path-fixing-mailto-PR-devel
2 parents 6771b90 + d4b7796 commit 38bd427

File tree

11 files changed

+58
-2
lines changed

11 files changed

+58
-2
lines changed

docs/_Sidebar.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- [Matomo](/roles/cache_clear/cache_clear-matomo)
1111
- [Drupal 8](/roles/cache_clear/cache_clear-mautic)
1212
- [Opcache](/roles/cache_clear/cache_clear-opcache)
13+
- [Symfony](/roles/cache_clear/cache_clear-symfony)
1314
- [ce-dev](/roles/ce_dev)
1415
- [ce-dev prebuild](/roles/ce_dev/ce_dev_prebuild)
1516
- [CLI Tools](/roles/cli)
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Symfony
2+
Clears the Symfony application cache.
3+
<!--TOC-->
4+
<!--ENDTOC-->
5+
6+
<!--ROLEVARS-->
7+
## Default variables
8+
```yaml
9+
---
10+
cache_clear_symfony_env: prod
11+
12+
```
13+
14+
<!--ENDROLEVARS-->

docs/roles/cron/cron_drupal7.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,14 @@ drupal:
1919
# month:
2020
job: cron
2121
# disabled: true
22+
# mailto: "{{ drupal.cron_mailto | default('') }}" # Each cron can have it's own mailto and can be configured to use different e-mail addresses.
23+
cron_mailto: ""
2224
# If the sites are being deployed to an ASG, setting defer to true will create the crontab entry on the deploy server rather than all of the app servers.
2325
defer: false
2426
# If defer is set to true, the Ansible target must be declared with defer_target. If using a group, include the index. For example, _ce_www_dev[0]
2527
defer_target: ""
2628
drush_location: "{{ drush_bin }}" # you might specify another location, e.g. "{{ deploy_path }}/vendor/bin/drush"
29+
2730
```
2831

2932
<!--ENDROLEVARS-->

docs/roles/cron/cron_drupal8.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ drupal:
1919
# month:
2020
job: cron
2121
# disabled: true
22+
# mailto: "{{ drupal.cron_mailto | default('') }}" # Each cron can have it's own mailto and can be configured to use different e-mail addresses.
23+
cron_mailto: ""
2224
# If the sites are being deployed to an ASG, setting defer to true will create the crontab entry on the deploy server rather than all of the app servers.
2325
defer: false
2426
# If defer is set to true, the Ansible target must be declared with defer_target. If using a group, include the index. For example, _ce_www_dev[0]

docs/roles/deploy_code.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,15 @@ Deploying code with autoscaling clusters relies on [cloud-init](https://cloudini
8585
## Default variables
8686
```yaml
8787
---
88+
# Required for NGINX config in feature branching.
89+
_ce_provision_data_dir: /home/deploy/ce-deploy/data
90+
8891
deploy_code:
92+
# Feature branching config.
93+
feature_branch:
94+
enabled: false
95+
# NGINX domains to build, see ce-provision for docs: https://github.com/codeenigma/ce-provision/blob/2.x/roles/debian/nginx/defaults/main.yml#L133
96+
domains: []
8997
# Specify any additional symlink to create, with src (target) and dest (link).
9098
# src: can be either absolute or relative to the dest (eg. '/var/my_data', '/home/deploy/simplesaml', '../../../myconfig')
9199
# dest: can only be relative to the root of your repository (eg. 'www/themes/myassets', 'var/cache')

docs/roles/sync/database_sync/database_sync-mysql.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ mysql_sync:
2525
credentials_file: "/home/{{ deploy_user }}/.mysql.creds"
2626
# This can be of types:
2727
# - rolling: (database backups). In that case we'll need build parameters.@todo
28-
# - fixed: "fixed" database name
28+
# - fixed: "fixed" database name # currently this var means the same as "dump"
2929
# - dump: Use an existing dump. In that case, the "database" variable is the absolute file path.
30+
# This parameter is ignored if var 'path_on_deploy_server' is defined.
3031
type: fixed
3132
# For "rolling builds", so we can compute the database name.
3233
build_id: mybuildprod
@@ -37,6 +38,9 @@ mysql_sync:
3738
dumps_directory: "/home/{{ deploy_user }}/shared/{{ project_name }}_{{ build_type }}/db_backups/mysql/regular"
3839
# If the source is on an ASG, provide the ASG name here. Otherwise, leave empty.
3940
asg: ""
41+
# Uncomment and specify full path if you want to use your own dump file on the deploy server (gzip compressed).
42+
# In this case it's the only variable you need in 'database.source'.
43+
#path_on_deploy_server: "/home/{{ deploy_user }}/compressed_database_dump.gz"
4044
target:
4145
database: "{{ project_name }}_dev"
4246
credentials_file: "/home/{{ deploy_user }}/.mysql.creds"

roles/cache_clear/cache_clear-symfony/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,11 @@ Clears the Symfony application cache.
44
<!--ENDTOC-->
55

66
<!--ROLEVARS-->
7+
## Default variables
8+
```yaml
9+
---
10+
cache_clear_symfony_env: prod
11+
12+
```
13+
714
<!--ENDROLEVARS-->

roles/cron/cron_drupal7/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,14 @@ drupal:
1919
# month:
2020
job: cron
2121
# disabled: true
22+
# mailto: "{{ drupal.cron_mailto | default('') }}" # Each cron can have it's own mailto and can be configured to use different e-mail addresses.
23+
cron_mailto: ""
2224
# If the sites are being deployed to an ASG, setting defer to true will create the crontab entry on the deploy server rather than all of the app servers.
2325
defer: false
2426
# If defer is set to true, the Ansible target must be declared with defer_target. If using a group, include the index. For example, _ce_www_dev[0]
2527
defer_target: ""
2628
drush_location: "{{ drush_bin }}" # you might specify another location, e.g. "{{ deploy_path }}/vendor/bin/drush"
29+
2730
```
2831

2932
<!--ENDROLEVARS-->

roles/cron/cron_drupal8/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ drupal:
1919
# month:
2020
job: cron
2121
# disabled: true
22+
# mailto: "{{ drupal.cron_mailto | default('') }}" # Each cron can have it's own mailto and can be configured to use different e-mail addresses.
23+
cron_mailto: ""
2224
# If the sites are being deployed to an ASG, setting defer to true will create the crontab entry on the deploy server rather than all of the app servers.
2325
defer: false
2426
# If defer is set to true, the Ansible target must be declared with defer_target. If using a group, include the index. For example, _ce_www_dev[0]

roles/deploy_code/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,15 @@ Deploying code with autoscaling clusters relies on [cloud-init](https://cloudini
8585
## Default variables
8686
```yaml
8787
---
88+
# Required for NGINX config in feature branching.
89+
_ce_provision_data_dir: /home/deploy/ce-deploy/data
90+
8891
deploy_code:
92+
# Feature branching config.
93+
feature_branch:
94+
enabled: false
95+
# NGINX domains to build, see ce-provision for docs: https://github.com/codeenigma/ce-provision/blob/2.x/roles/debian/nginx/defaults/main.yml#L133
96+
domains: []
8997
# Specify any additional symlink to create, with src (target) and dest (link).
9098
# src: can be either absolute or relative to the dest (eg. '/var/my_data', '/home/deploy/simplesaml', '../../../myconfig')
9199
# dest: can only be relative to the root of your repository (eg. 'www/themes/myassets', 'var/cache')

0 commit comments

Comments
 (0)