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

Upgrade AWS-SDK #7307

Merged
merged 1 commit into from
Jan 18, 2024
Merged

Conversation

guikcd
Copy link
Contributor

@guikcd guikcd commented Jan 11, 2024

Thank you for contributing to Velero!

Please add a summary of your change

AWS EKS Pod Identity requires aws-sdk v2 version bumped (not sure why dependabot don't propose the upgrade as other modules):

  • aws-sdk-go-v2/credentials: 1.16.0
  • aws-sdk-go-v2/config: 1.25.0

Source

Does your change fix a particular issue?

No

Please indicate you've done the following:

  • Accepted the DCO. Commits without the DCO will delay acceptance.
  • Created a changelog file or added /kind changelog-not-required as a comment on this pull request.
  • Updated the corresponding documentation in site/content/docs/main.

@github-actions github-actions bot added the Dependencies Pull requests that update a dependency file label Jan 11, 2024
@guikcd
Copy link
Contributor Author

guikcd commented Jan 11, 2024

Also noticed #7297, need to check

@guikcd guikcd marked this pull request as draft January 11, 2024 11:00
@guikcd guikcd marked this pull request as ready for review January 12, 2024 17:32
blackpiglet
blackpiglet previously approved these changes Jan 15, 2024
@guikcd
Copy link
Contributor Author

guikcd commented Jan 15, 2024

I fixed go.sum file.

@shubham-pampattiwar
Copy link
Collaborator

Please take a look at the CI failures.

Signed-off-by: Guillaume Delacour <delacoug@amazon.com>
@guikcd
Copy link
Contributor Author

guikcd commented Jan 16, 2024

aws-sdk-go v2 introduced on some services a breaking change: https://github.com/aws/aws-sdk-go-v2/blob/release-2023-11-17/feature/s3/manager/CHANGELOG.md#v1140-2023-11-17

I've fixed it:

Error: ../util/providers/aws_utils.go:413:4: invalid operation: totalSize += obj.Size (mismatched types int64 and *int64)

Copy link

codecov bot commented Jan 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d412854) 61.76% compared to head (373b24e) 61.77%.
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7307      +/-   ##
==========================================
+ Coverage   61.76%   61.77%   +0.01%     
==========================================
  Files         262      262              
  Lines       28440    28440              
==========================================
+ Hits        17567    17570       +3     
+ Misses       9642     9640       -2     
+ Partials     1231     1230       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@shubham-pampattiwar shubham-pampattiwar merged commit 6a4c661 into vmware-tanzu:main Jan 18, 2024
24 checks passed
@guikcd guikcd deleted the aws_sdk_upgrade branch January 18, 2024 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dependencies Pull requests that update a dependency file has-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants