-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Code Coverage Report and Fix webapp instructions (#36822)
* Fix webapp config for code coverage tool This PR fixes the cloud deployment config so we can upload code coverage again. * Update readme with extra instructions * Restyled by prettier-markdown * Attempt to fix misspell CI error * Another attempt. Pyspelling CI checker doesn't like Yufeng's name. * Update title to "Matter SDK Coverage Report" and add SHA * Restyled by shfmt --------- Co-authored-by: Restyled.io <[email protected]>
- Loading branch information
1 parent
728e3e3
commit 8ea6b8d
Showing
3 changed files
with
40 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
## Deploy Static Website on App Engine | ||
## Deploy Static Website on App Engine for The Matter SDK Coverage Report | ||
|
||
### Setup google cloud integration | ||
|
||
|
@@ -30,7 +30,43 @@ settings of your App Engine application. | |
Directory `out/coverage/coverage` contains the coverage report files, such as | ||
HTML, CSS, images, and JavaScript. | ||
|
||
Deploying your generated report: | ||
|
||
``` | ||
cd out/coverage/coverage | ||
gcloud app deploy ../../../integrations/appengine/webapp_config.yaml | ||
gcloud app deploy webapp_config.yaml --project matter-build-automation | ||
``` | ||
|
||
The output should look like: | ||
|
||
``` | ||
Services to deploy: | ||
descriptor: [/usr/local/google/home/<user>/connectedhomeip/out/coverage/coverage/webapp_config.yaml] | ||
source: [/usr/local/google/home/<user>/connectedhomeip/out/coverage/coverage] | ||
target project: [matter-build-automation] | ||
target service: [default] | ||
target version: [20241212t175429] | ||
target url: [https://matter-build-automation.ue.r.appspot.com] | ||
target service account: [[email protected]] | ||
Do you want to continue (Y/n)? Y | ||
Beginning deployment of service [default]... | ||
╔════════════════════════════════════════════════════════════╗ | ||
╠═ Uploading 0 files to Google Cloud Storage ═╣ | ||
╚════════════════════════════════════════════════════════════╝ | ||
File upload done. | ||
Updating service [default]...done. | ||
Setting traffic split for service [default]...done. | ||
Deployed service [default] to [https://matter-build-automation.ue.r.appspot.com] | ||
You can stream logs from the command line by running: | ||
$ gcloud app logs tail -s default | ||
To view your application in the web browser run: | ||
$ gcloud app browse --project=matter-build-automation | ||
``` | ||
|
||
If you run into permission issues, reach out to a team member from Google. |
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