-
Notifications
You must be signed in to change notification settings - Fork 360
Handle Docker Hub rate limiting using proxy server for Testcontainers. #1516
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
Conversation
ci/test.sh
Outdated
|
||
echo "Hard linking ProxyImageNameSubstitutor into JDBC and R2DBC..." | ||
pushd spring-data-jdbc/src/test/java/org/springframework/data | ||
ln -f ../../../../../../../spring-data-relational/src/test/java/org/springframework/data/ProxyImageNameSubstitutor.java . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about copying the Java file? Hard linking seems unusual
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -0,0 +1,83 @@ | |||
/* | |||
* Copyright 2015-2023 the original author or authors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: We start with the year of introduction, so Copyright would be 2023 only.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
When run on CI servers, leverage an internal proxy service using Testcontainers ability to plugin a custom ImageNameSubstitor. See #1516
Feel free to comment.