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

fix(#743): "drupal:db-import" frozen if $DB_DIR/db.sql.gz already exists #745

Merged
merged 3 commits into from
Jan 20, 2025

Conversation

penyaskito
Copy link
Member

Fixes #743.

@github-actions github-actions bot temporarily deployed to pantheon-pr-745 December 3, 2024 01:01 Destroyed
@github-actions github-actions bot temporarily deployed to pantheon-pr-745 December 9, 2024 16:39 Destroyed
@justafish justafish merged commit 62ccdb0 into main Jan 20, 2025
30 of 32 checks passed
@justafish justafish deleted the 743--gunzip-arguments branch January 20, 2025 14:15
@justafish
Copy link
Member

Thanks!

@@ -44,7 +44,7 @@ tasks:
- echo "🚮 Dropping existing database"
- ./vendor/bin/drush {{ .site }} sql:drop --yes
- echo "📰 Importing database"
- gunzip -k $DB_DIR/db.sql.gz
- gunzip --keep --force $DB_DIR/db.sql.gz
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable, and good fix using the long flags!

@github-actions github-actions bot temporarily deployed to pantheon-pr-745 January 20, 2025 14:18 Destroyed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Never completing task drupal:import-db
3 participants