Skip to content

#750 Store test results in gcloud bucket#828

Merged
adamfilipow92 merged 8 commits into
masterfrom
#750-Automatically-store-reports-in-gcloud-bucket
Jun 24, 2020
Merged

#750 Store test results in gcloud bucket#828
adamfilipow92 merged 8 commits into
masterfrom
#750-Automatically-store-reports-in-gcloud-bucket

Conversation

@adamfilipow92
Copy link
Copy Markdown
Contributor

@adamfilipow92 adamfilipow92 commented Jun 1, 2020

Fixes #750

Test Plan

How do we know the code works?

-Should upload reports to gcloud bucket

Checklist

  • Documented
  • Unit tested
  • release_notes.md updated
  • update README.md
  • update flank.yml
  • update flank.ios.yml

@adamfilipow92 adamfilipow92 self-assigned this Jun 1, 2020
@adamfilipow92 adamfilipow92 force-pushed the #750-Automatically-store-reports-in-gcloud-bucket branch from b8c4b70 to 037497c Compare June 4, 2020 13:27
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jun 4, 2020

Codecov Report

Merging #828 into master will increase coverage by 0.21%.
The diff coverage is 85.00%.

Impacted file tree graph

@@             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     

@adamfilipow92 adamfilipow92 marked this pull request as ready for review June 5, 2020 12:26
@adamfilipow92 adamfilipow92 force-pushed the #750-Automatically-store-reports-in-gcloud-bucket branch from b750b9e to 1bbf21a Compare June 17, 2020 12:39
Comment thread README.md
# full-junit-result: false

## Disables flank results upload on gcloud storage.
# disable-results-upload: false
Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Contributor

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!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@adamfilipow92 adamfilipow92 force-pushed the #750-Automatically-store-reports-in-gcloud-bucket branch from 4cde50a to 42c0032 Compare June 22, 2020 11:58
Comment thread README.md
# full-junit-result: false

## Disables flank results upload on gcloud storage.
# disable-results-upload: false
Copy link
Copy Markdown
Contributor

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!

val output = generate(matrices)
if (printToStdout) print(output)
write(matrices, output, args)
GcStorage.uploadReportResult(output, args, fileName())
Copy link
Copy Markdown
Contributor

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?

Copy link
Copy Markdown
Contributor

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())
Copy link
Copy Markdown
Contributor

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?

@adamfilipow92 adamfilipow92 merged commit 22b0370 into master Jun 24, 2020
@adamfilipow92 adamfilipow92 deleted the #750-Automatically-store-reports-in-gcloud-bucket branch June 24, 2020 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Automatically store reports in gcloud bucket

5 participants