-
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.
Use compute engine to build coverage and app engine to publish the re…
…sult
- Loading branch information
1 parent
b36439e
commit c7505b4
Showing
5 changed files
with
51 additions
and
75 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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
## Deploy Static Website on App Engine | ||
|
||
### Setup google cloud integration | ||
|
||
Follow https://cloud.google.com/sdk/docs/install. | ||
|
||
### Build Coverage Report | ||
|
||
To check out the Matter repository: | ||
|
||
``` | ||
git clone --recurse-submodules [email protected]:project-chip/connectedhomeip.git | ||
``` | ||
|
||
Run the following command to build coverage report: | ||
|
||
``` | ||
cd connectedhomeip | ||
./scripts/build_coverage.sh | ||
``` | ||
|
||
After a successful build, the coverage report is located at | ||
`out/coverage/coverage` | ||
|
||
#### Upload your static website to Google App Engine | ||
|
||
File `integrations/appengine/webapp_config.yaml` is used to configure the | ||
settings of your App Engine application. | ||
|
||
Directory `out/coverage/coverage` contains the coverage report files, such as | ||
HTML, CSS, images, and JavaScript. | ||
|
||
``` | ||
cd out/coverage/coverage | ||
gcloud app deploy ../../../integrations/appengine/webapp_config.yaml | ||
``` | ||
|
||
#### Check the latest coverage report | ||
|
||
Visit (https://matter-build-automation.ue.r.appspot.com) to view the latest | ||
Matter SDK coverage report. |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
runtime: python27 | ||
api_version: 1 | ||
threadsafe: true | ||
handlers: | ||
- url: / | ||
static_files: html/index.html | ||
upload: html/index.html | ||
- url: /(.*) | ||
static_files: html/\1 | ||
upload: html/(.*) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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