-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#750 Store test results in gcloud bucket #828
#750 Store test results in gcloud bucket #828
Conversation
b8c4b70
to
037497c
Compare
Codecov Report
@@ Coverage Diff @@
## master #828 +/- ##
============================================
+ Coverage 81.23% 81.44% +0.21%
- Complexity 637 642 +5
============================================
Files 167 167
Lines 3240 3250 +10
Branches 463 463
============================================
+ Hits 2632 2647 +15
+ Misses 343 339 -4
+ Partials 265 264 -1 |
b750b9e
to
1bbf21a
Compare
@@ -204,6 +204,9 @@ flank: | |||
|
|||
## Enable create additional local junit result on local storage with failure nodes on passed flaky tests. | |||
# full-junit-result: false | |||
|
|||
## Disables flank results upload on gcloud storage. | |||
# disable-results-upload: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same should be in android section
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And add info about default value, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
4cde50a
to
42c0032
Compare
@@ -204,6 +204,9 @@ flank: | |||
|
|||
## Enable create additional local junit result on local storage with failure nodes on passed flaky tests. | |||
# full-junit-result: false | |||
|
|||
## Disables flank results upload on gcloud storage. | |||
# disable-results-upload: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And add info about default value, thanks!
@@ -41,5 +42,6 @@ object CostReport : IReport { | |||
val output = generate(matrices) | |||
if (printToStdout) print(output) | |||
write(matrices, output, args) | |||
GcStorage.uploadReportResult(output, args, fileName()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just want to confirm, we want to upload all reports or just junit's?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we want to upload all reports.
Paths.get(reportPath(matrices, args)).let { | ||
val htmlReport = suites.createHtmlReport() | ||
Files.write(it, htmlReport.toByteArray()) | ||
GcStorage.uploadReportResult(htmlReport, args, it.fileName.toString()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, do we want to have this uploaded?
Fixes #750
Test Plan
-Should upload reports to gcloud bucket
Checklist