|
1 |
| -## Deploy Static Website on App Engine |
| 1 | +## Deploy Static Website on App Engine for The Matter SDK Coverage Report |
2 | 2 |
|
3 | 3 | ### Setup google cloud integration
|
4 | 4 |
|
@@ -30,7 +30,43 @@ settings of your App Engine application.
|
30 | 30 | Directory `out/coverage/coverage` contains the coverage report files, such as
|
31 | 31 | HTML, CSS, images, and JavaScript.
|
32 | 32 |
|
| 33 | +Deploying your generated report: |
| 34 | + |
33 | 35 | ```
|
34 | 36 | cd out/coverage/coverage
|
35 |
| -gcloud app deploy ../../../integrations/appengine/webapp_config.yaml |
| 37 | +gcloud app deploy webapp_config.yaml --project matter-build-automation |
| 38 | +``` |
| 39 | + |
| 40 | +The output should look like: |
| 41 | + |
| 42 | +``` |
| 43 | +Services to deploy: |
| 44 | +
|
| 45 | +descriptor: [/usr/local/google/home/<user>/connectedhomeip/out/coverage/coverage/webapp_config.yaml] |
| 46 | +source: [/usr/local/google/home/<user>/connectedhomeip/out/coverage/coverage] |
| 47 | +target project: [matter-build-automation] |
| 48 | +target service: [default] |
| 49 | +target version: [20241212t175429] |
| 50 | +target url: [https://matter-build-automation.ue.r.appspot.com] |
| 51 | +target service account: [[email protected]] |
| 52 | +
|
| 53 | +
|
| 54 | +Do you want to continue (Y/n)? Y |
| 55 | +
|
| 56 | +Beginning deployment of service [default]... |
| 57 | +╔════════════════════════════════════════════════════════════╗ |
| 58 | +╠═ Uploading 0 files to Google Cloud Storage ═╣ |
| 59 | +╚════════════════════════════════════════════════════════════╝ |
| 60 | +File upload done. |
| 61 | +Updating service [default]...done. |
| 62 | +Setting traffic split for service [default]...done. |
| 63 | +Deployed service [default] to [https://matter-build-automation.ue.r.appspot.com] |
| 64 | +
|
| 65 | +You can stream logs from the command line by running: |
| 66 | + $ gcloud app logs tail -s default |
| 67 | +
|
| 68 | +To view your application in the web browser run: |
| 69 | + $ gcloud app browse --project=matter-build-automation |
36 | 70 | ```
|
| 71 | + |
| 72 | +If you run into permission issues, reach out to a team member from Google. |
0 commit comments