-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Error: Could not process the 'wp-config.php' transformation (#29800)
- Use separate tests database service - Configure database credentials in every service - Set wp-config.php to be writable Co-authored-by: Riad Benguella <[email protected]> Co-authored-by: Noah Allen <[email protected]>
- Loading branch information
1 parent
f1e98fc
commit f8052e1
Showing
5 changed files
with
83 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// Username and password used in all databases | ||
const credentials = { | ||
WORDPRESS_DB_USER: 'root', | ||
WORDPRESS_DB_PASSWORD: 'password', | ||
}; | ||
|
||
// Environment for test database | ||
const tests = { | ||
WORDPRESS_DB_NAME: 'tests-wordpress', | ||
WORDPRESS_DB_HOST: 'tests-mysql', | ||
}; | ||
|
||
// Environment for development database. DB host gets default value which is set | ||
// elsewhere | ||
const development = { | ||
WORDPRESS_DB_NAME: 'wordpress', | ||
}; | ||
|
||
module.exports = { | ||
credentials, | ||
tests, | ||
development, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters