Skip to content

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

Closed
wants to merge 2 commits into from

Conversation

gregturn
Copy link
Contributor

@gregturn gregturn commented May 16, 2023

Feel free to comment.

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 .
Copy link
Member

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

Copy link
Contributor Author

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.
Copy link
Member

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.

Copy link
Contributor Author

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
@gregturn gregturn linked an issue May 17, 2023 that may be closed by this pull request
gregturn added a commit that referenced this pull request May 17, 2023
When run on CI servers, leverage an internal proxy service using Testcontainers ability to plugin a custom ImageNameSubstitor.

See #1518
Original Pull Request: #1516
@gregturn gregturn closed this May 17, 2023
@gregturn gregturn deleted the issue/proxy branch May 17, 2023 15:24
gregturn added a commit that referenced this pull request May 17, 2023
When run on CI servers, leverage an internal proxy service using Testcontainers ability to plugin a custom ImageNameSubstitor.

See #1518
Original Pull Request: #1516
gregturn added a commit that referenced this pull request May 17, 2023
When run on CI servers, leverage an internal proxy service using Testcontainers ability to plugin a custom ImageNameSubstitor.

See #1518
Original Pull Request: #1516
gregturn added a commit that referenced this pull request May 17, 2023
When run on CI servers, leverage an internal proxy service using Testcontainers ability to plugin a custom ImageNameSubstitor.

See #1518
Original Pull Request: #1516
gregturn added a commit that referenced this pull request May 17, 2023
When run on CI servers, leverage an internal proxy service using Testcontainers ability to plugin a custom ImageNameSubstitor.

See #1518
Original Pull Request: #1516
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.

Use Harbor Proxy on CI for Testcontainers.
2 participants