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

JENKINS-73653: Update to Amazon SDK v2 #195

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

JENKINS-73653: Update to Amazon SDK v2 #195

wants to merge 1 commit into from

Conversation

TobiX
Copy link
Contributor

@TobiX TobiX commented Jan 17, 2025

AWS SDK 1.x is end-of-life and this update should be done before the end of 2025...

Ping @basil: If you have some time for a review...

Testing done

My test case still runs, not sure if it tests enough...

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

@TobiX TobiX added dependencies Dependency updates chore Maintenance labels Jan 17, 2025
@TobiX TobiX self-assigned this Jan 17, 2025
@@ -60,30 +61,40 @@ public class AmazonECSRegistryCredential extends BaseStandardCredentials

private final String credentialsId;

private final Regions region;
private final String region;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Spotbugs complained about "non-transient non-serializable instance field region" when using the new Region class here, so I just used a String...

@basil
Copy link
Member

basil commented Jan 17, 2025

That issue report is a duplicate, and the issue has already been fixed. This PR is beneficial in general, but any upgrade from v1 to v2 needs to be manually tested with a real AWS account before it can be released to end users.

@basil basil changed the title JENKINS-73653: Update to Amazon SDK v2 (fixes #187) JENKINS-73653: Update to Amazon SDK v2 Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Maintenance dependencies Dependency updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants