Repository navigation
Route Maven through Moderne Artifactory cache to avoid HTTP 429 - #112
Merged
Merged
Conversation
Maven Central has started rate-limiting parallel test resolution (HTTP 429), failing CI across recipe repos. Inline the same mirror configuration used by moderneinc/rewrite-java-security: route `mirrorOf: "*"` through artifactory.moderne.ninja's moderne-cache-3 via s4u/maven-settings-action, and set REWRITE_GRADLE_MIRROR_* on the build/publish steps so Gradle resolution goes through the cache too. This replaces the call into openrewrite/gh-automation's reusable ci-gradle.yml / publish-gradle.yml workflows with their composite actions called inline, which is the bypass pattern the reusable workflow explicitly recommends for consumers that need a mirror.
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
https://repo.maven.apache.org/maven2: HTTP 429— Maven Central is rate-limiting parallel test resolution.moderneinc/rewrite-java-securityuses successfully today: route all Maven resolution throughhttps://artifactory.moderne.ninja/artifactory/moderne-cache-3/vias4u/maven-settings-action, and setREWRITE_GRADLE_MIRROR_*env vars on the Gradle build / publish steps.openrewrite/gh-automation's reusableci-gradle.yml/publish-gradle.ymlwith their composite actions invoked inline — the bypass pattern the reusable workflow explicitly recommends for consumers that need a mirror.Test plan
s4u/maven-settings-actionstep ranHTTP 429lines in build logs