From 266d017c90b2668486fd86e43bd585528ec35ad7 Mon Sep 17 00:00:00 2001 From: Sergio Soares Date: Thu, 19 Dec 2024 21:53:38 +0000 Subject: [PATCH] Integrate report into app engine --- integrations/appengine/webapp_config.yaml | 3 +++ integrations/compute_engine/startup-script.sh | 9 +++++++++ 2 files changed, 12 insertions(+) diff --git a/integrations/appengine/webapp_config.yaml b/integrations/appengine/webapp_config.yaml index f27ad7d68b8663..84b204611ba08c 100644 --- a/integrations/appengine/webapp_config.yaml +++ b/integrations/appengine/webapp_config.yaml @@ -3,6 +3,9 @@ handlers: - url: / static_files: html/index.html upload: html/index.html + - url: /conformance/ + static_files: html/conformance_report.html + upload: html/conformance_report.html - url: /(.*) static_files: html/\1 upload: html/(.*) diff --git a/integrations/compute_engine/startup-script.sh b/integrations/compute_engine/startup-script.sh index 113f45be2603bb..bdb1b743dd8acd 100755 --- a/integrations/compute_engine/startup-script.sh +++ b/integrations/compute_engine/startup-script.sh @@ -20,8 +20,17 @@ cd /tmp rm -rf connectedhomeip git clone --recurse-submodules https://github.com/project-chip/connectedhomeip.git cd connectedhomeip +# Generate coverage report ./scripts/build_coverage.sh 2>&1 | tee /tmp/matter_build.log + +# Generate Example Conformance Report +python3 scripts/examples/conformance_report.py + cd out/coverage/coverage + +# Copy conformance report +cp /tmp/comformance_report/conformance_report.html html + gcloud app deploy webapp_config.yaml 2>&1 | tee /tmp/matter_publish.log versions=$(gcloud app versions list \ --service default \