forked from jspellman814/wordpress-composer-managed
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip Sentry configuration in Lando environments
** Why are these changes being introduced: We integrate with Sentry provided a given ENV value is defined in secrets.json, but this can result in local environments sending exceptions to Sentry - which be quite noisy and undesired. ** Relevant ticket(s): * https://mitlibraries.atlassian.net/browse/pw-106 ** How does this address that need: This adds an additional check around the Sentry configuration block, making sure that the PANTHEON_ENVIRONMENT variable is not sent to "lando" when integrating with Sentry. ** Document any side effects to this change: None
- Loading branch information
1 parent
9be1842
commit e250f4e
Showing
2 changed files
with
30 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# How to troubleshoot a build failure on Pantheon | ||
|
||
This document describes some helpful steps to take when you run into a build | ||
failure on Pantheon. These failures are seen most often when creating a brand | ||
new instance. | ||
|
||
## Identifying a build failure | ||
|
||
A build failure on Pantheon might become evident when creating a multidev initially: | ||
|
||
```bash | ||
% terminus multidev:create mitlib-wp-network.live wp66 | ||
[error] The operation failed to complete. | ||
``` | ||
|
||
It might also appear when trying to clone content between tiers: | ||
|
||
```bash | ||
% terminus remote:wp mitlib-wp-network.wp66 -- search-replace libraries.mit.edu wp66-mitlib-wp-network.pantheonsite.io --url=libraries.mit.edu | ||
[warning] This environment is in read-only Git mode. If you want to make changes to the codebase of this site (e.g. updating modules or plugins), you will need to toggle into read/write SFTP mode first. | ||
Warning: Permanently added 'REACTED' (RSA) to the list of known hosts. | ||
Enter passphrase for key 'REDACTED': | ||
Error: This does not seem to be a WordPress installation. | ||
The used path is: /code/web/wp/ | ||
Pass --path=`path/to/wordpress` or run `wp core download`. | ||
[notice] Command: mitlib-wp-network.wp66 -- wp search-replace libraries.mit.edu wp66-mitlib-wp-network.pantheonsite.io [Exit: 1] | ||
[error] | ||
``` | ||
|
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