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

feat: save artifact size metrics task #40

Merged
merged 4 commits into from
Apr 26, 2024
Merged

feat: save artifact size metrics task #40

merged 4 commits into from
Apr 26, 2024

Conversation

0marperez
Copy link
Contributor

@0marperez 0marperez commented Apr 25, 2024

Issue #, if available:
N/A

Description of changes:
Add new task to save artifact size metrics using gradle plugin.
See: awslabs/aws-crt-kotlin#102 (comment)

Also some minor simplifications

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@0marperez 0marperez marked this pull request as ready for review April 25, 2024 19:04
@ianbotsf ianbotsf requested a review from a team April 26, 2024 16:01
val artifactSizeMetrics = ByteStream.fromString(metricsFile.get().asFile.readText())

runBlocking {
S3Client.fromEnvironment().use { s3 ->
Copy link
Member

Choose a reason for hiding this comment

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

I just realized we don't specify the client region anywhere, I hope that will be consistently set by the environment (i.e env var)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@0marperez 0marperez merged commit ee9b4ad into main Apr 26, 2024
5 checks passed
@0marperez 0marperez deleted the save-artifacts branch April 26, 2024 18:16
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.

3 participants