Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating drush config to allow extra-dump command for max_allowed_packet #401

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
1 change: 1 addition & 0 deletions images/php-cli-drupal/7.4.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ LABEL org.opencontainers.image.authors="The Lagoon Authors" maintainer="The Lago
LABEL org.opencontainers.image.source="https://github.com/uselagoon/lagoon-images" repository="https://github.com/uselagoon/lagoon-images"

ENV LAGOON=cli-drupal
ENV MARIADB_MAX_ALLOWED_PACKET=64M

# Defining Versions - https://github.com/hechoendrupal/drupal-console-launcher/releases
ENV DRUPAL_CONSOLE_LAUNCHER_VERSION=1.9.7 \
Expand Down
1 change: 1 addition & 0 deletions images/php-cli-drupal/8.0.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ LABEL org.opencontainers.image.authors="The Lagoon Authors" maintainer="The Lago
LABEL org.opencontainers.image.source="https://github.com/uselagoon/lagoon-images" repository="https://github.com/uselagoon/lagoon-images"

ENV LAGOON=cli-drupal
ENV MARIADB_MAX_ALLOWED_PACKET=64M

# Defining Versions - https://github.com/hechoendrupal/drupal-console-launcher/releases
ENV DRUPAL_CONSOLE_LAUNCHER_VERSION=1.9.7 \
Expand Down
1 change: 1 addition & 0 deletions images/php-cli-drupal/8.1.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ LABEL org.opencontainers.image.authors="The Lagoon Authors" maintainer="The Lago
LABEL org.opencontainers.image.source="https://github.com/uselagoon/lagoon-images" repository="https://github.com/uselagoon/lagoon-images"

ENV LAGOON=cli-drupal
ENV MARIADB_MAX_ALLOWED_PACKET=64M

# Defining Versions - https://github.com/hechoendrupal/drupal-console-launcher/releases
ENV DRUPAL_CONSOLE_LAUNCHER_VERSION=1.9.7 \
Expand Down
7 changes: 6 additions & 1 deletion images/php-cli-drupal/drush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@

options:
root: '/app/${env.WEBROOT}'
uri: '${env.LAGOON_ROUTE}'
uri: '${env.LAGOON_ROUTE}'
command:
sql:
dump:
options:
extra-dump: --no-tablespaces --max_allowed_packet=${env.MARIADB_MAX_ALLOWED_PACKET}