A bridge to connect wp-calypso to wp-desktop unit tests
GPL-2.0 License
A webhooks client that sits between wp-calypso pull requests and wp-desktop unit tests to execute the wp-desktop tests against pull requests and provide status updates.
These provide two webhook paths to do this:
brew install ngrok
on macOSexport BRIDGE_SECRET='mysecret'
where mysecret
is a generated keyexport CIRCLECI_SECRET='circlesecret'
where circlesecret
is a CircleCI API keyexport GITHUB_SECRET='githubkey'
where githubkey
is a GitHub API keyCALYPSO_PROJECT
, DESKTOP_PROJECT
and FLOW_PATROL_ONLY
if you wish to override the default valuesnpm start
which starts this server on port 7777ngrok http 7777
which should provide you a HTTPS url to your localhost server: eg. https://675bbbef.ngrok.io -> localhost:7777
curl https://675bbbef.ngrok.io/circleciwebhook
circle.yml
) - when adding the Webhook to GitHub only select the 'Pull Request' event and make sure you choose content type of 'application/json'npm start
but ngrok will continue to workThese webhooks are now hosted on VIP GO (see links above). Just merge to master and it will be deployed 😊