Skip to content

Commit

Permalink
Update readme with extra instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
soares-sergio committed Dec 12, 2024
1 parent c8bc53e commit f928f7e
Showing 1 changed file with 38 additions and 2 deletions.
40 changes: 38 additions & 2 deletions integrations/appengine/README.md
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 CHIP Coverage Report

### Setup google cloud integration

Expand Down Expand Up @@ -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
cp ../../../integrations/appengine/webapp_config.yaml ../../../integrations/appengine/.gcloudignore .
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 Yufeng Wang (Google).

0 comments on commit f928f7e

Please sign in to comment.