Skip to content

Commit

Permalink
Use compute engine to build coverage and app engine to publish the re…
Browse files Browse the repository at this point in the history
…sult
  • Loading branch information
yufengwangca committed Jan 12, 2023
1 parent b36439e commit 55581e2
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 201 deletions.
10 changes: 10 additions & 0 deletions integrations/app_engine/app.yaml
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: www/index.html
upload: www/index.html
- url: /(.*)
static_files: www/\1
upload: www/(.*)
18 changes: 0 additions & 18 deletions integrations/cloudbuild/build-coverage-remote.yaml

This file was deleted.

55 changes: 0 additions & 55 deletions integrations/cloudbuild/build-coverage.yaml

This file was deleted.

This file was deleted.

24 changes: 0 additions & 24 deletions integrations/docker/images/chip-build-remote-builder/README.md

This file was deleted.

23 changes: 0 additions & 23 deletions integrations/docker/images/chip-build-remote-builder/build.sh

This file was deleted.

This file was deleted.

70 changes: 0 additions & 70 deletions integrations/docker/images/chip-build-remote-builder/run.sh

This file was deleted.

3 changes: 2 additions & 1 deletion scripts/build_coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -169,4 +169,5 @@ lcov --capture --directory "$OUTPUT_ROOT/obj/src" --exclude="$PWD"/zzz_generated
lcov --add-tracefile "$COVERAGE_ROOT/lcov_base.info" --add-tracefile "$COVERAGE_ROOT/lcov_test.info" --output-file "$COVERAGE_ROOT/lcov_final.info"
genhtml "$COVERAGE_ROOT/lcov_final.info" --output-directory "$COVERAGE_ROOT/html"

tar czvf "$COVERAGE_ROOT/coverage_html.tar.gz" -C "$COVERAGE_ROOT/html" .
mv "$COVERAGE_ROOT/html" "$COVERAGE_ROOT/www"
cp "$CHIP_ROOT/integrations/app_engine/app.yaml" "$COVERAGE_ROOT/app.yaml"

0 comments on commit 55581e2

Please sign in to comment.