Skip to content
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

CI: speed up Allure reports upload #7362

Merged
merged 2 commits into from Apr 11, 2024
Merged

Conversation

bayandin
Copy link
Member

@bayandin bayandin commented Apr 11, 2024

Problem

create-test-report job takes more than 8 minutes, the longest step is uploading Allure report to S3:

Before (link):

+ aws s3 cp --recursive --only-show-errors /tmp/pr-7362-1712847045/report s3://neon-github-public-dev/reports/pr-7362/8647730612

real	6m10.572s
user	6m37.717s
sys	1m9.429s

After (link):

+ s5cmd --log error cp '/tmp/pr-7362-1712858221/report/*' s3://neon-github-public-dev/reports/pr-7362/8650636861/

real	0m9.698s
user	1m9.438s
sys	0m6.419s

Summary of changes

Checklist before requesting a review

  • I have performed a self-review of my code.
  • If it is a core feature, I have added thorough tests.
  • Do we need to implement analytics? if so did you add the relevant metrics to the dashboard?
  • If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section.

Checklist before merging

  • Do not forget to reformat commit message to not include the above checklist

Copy link

github-actions bot commented Apr 11, 2024

2754 tests run: 2636 passed, 0 failed, 118 skipped (full report)


Code coverage* (full report)

  • functions: 28.0% (6413 of 22880 functions)
  • lines: 46.7% (44988 of 96288 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
21ea9ba at 2024-04-11T17:58:44.736Z :recycle:

@bayandin bayandin force-pushed the bayandin/try-to-speedup-s3-upload branch from bca0cff to 3912ef2 Compare April 11, 2024 16:20
@bayandin bayandin force-pushed the bayandin/try-to-speedup-s3-upload branch from 3912ef2 to 21ea9ba Compare April 11, 2024 17:13
@bayandin bayandin marked this pull request as ready for review April 11, 2024 17:44
@bayandin bayandin changed the title CI: speed up allure reports upload CI: speed up Allure reports upload Apr 11, 2024
@bayandin bayandin merged commit 94505fd into main Apr 11, 2024
54 checks passed
@bayandin bayandin deleted the bayandin/try-to-speedup-s3-upload branch April 11, 2024 22:35
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.

None yet

2 participants