Skip to content
This repository has been archived by the owner on Nov 6, 2022. It is now read-only.

Commit

Permalink
Fork the Gutenberg docker-compose template
Browse files Browse the repository at this point in the history
In response to a failed Travis build.
WordPress/gutenberg#17004 (comment).
  • Loading branch information
kienstra committed May 2, 2020
1 parent df13f78 commit c743369
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
},
"wp-env": {
"plugin-dir": "block-lab",
"plugin-name": "Block Lab"
"plugin-name": "Block Lab",
"docker-template": "./tests/e2e/config/docker-compose.override.yml.template"
}
}
15 changes: 15 additions & 0 deletions tests/e2e/config/docker-compose.override.yml.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: '3.6'

services:
wordpress-develop:
volumes:
- %PLUGIN_MOUNT_DIR%:/var/www/${LOCAL_DIR-src}/wp-content/plugins/%PLUGIN_INSTALL_DIR%
php:
volumes:
- %PLUGIN_MOUNT_DIR%:/var/www/${LOCAL_DIR-src}/wp-content/plugins/%PLUGIN_INSTALL_DIR%
cli:
volumes:
- %PLUGIN_MOUNT_DIR%:/var/www/${LOCAL_DIR-src}/wp-content/plugins/%PLUGIN_INSTALL_DIR%
phpunit:
volumes:
- %PLUGIN_MOUNT_DIR%:/var/www/${LOCAL_DIR-src}/wp-content/plugins/%PLUGIN_INSTALL_DIR%

0 comments on commit c743369

Please sign in to comment.