You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: use client registration token for ndt7 tests
Update ndt7-js to 0.1.3 which supports the `clientRegistrationToken`
option. Before running ndt7 tests, fetch a short-lived JWT token from
the speed-backend service which enables priority access to the Locate
API for registered integrations.
This is the first step toward using the client registration system
for M-Lab's speed test website along with the new backend that we
have written for this purpose: https://github.com/m-lab/speed-proxy.
We implement an open failure model where failure to get the token
causes ndt7 to avoid using the client-integration code.
We use `staging` when not in production so we always know which is
the `m-lab/speed-proxy` branch we're testing against.
Also, update `yarn.lock`.
Also, distinguish between staging and production.
Also, make sure we use correct permissions for GitHub actions.
Also, mention deployment location in the `README.md`.
Copy file name to clipboardExpand all lines: README.md
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,4 +38,15 @@ To preview the site locally, we recommend using the Python Simple HTTP Server.
38
38
39
39
* Navigate to the `/app` directory and run: `python3 -m http.server 8000`
40
40
41
-
If you are a user on the M-Lab Firebase project, you can also preview the site locally using the firebase-cli: `firebase serve --only hosting:mlab-speedtest`
41
+
If you are a user on the M-Lab Firebase project, you can also preview the site locally using the firebase-cli: `firebase serve --only hosting:mlab-speedtest`
42
+
43
+
## Deployment
44
+
45
+
The site is deployed via GitHub Actions to Firebase Hosting:
| Sandbox | Pull request (from same repo) |https://mlab-sandbox.web.app|
50
+
| Production | Merge to `main`|https://speed.measurementlab.net|
51
+
52
+
**Note:** PR deployments only work for branches pushed directly to `m-lab/mlab-speedtest`, not from forks (due to Firebase secrets not being available to fork PRs).
0 commit comments