-
Notifications
You must be signed in to change notification settings - Fork 21
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
Builds failing as spring-cloud-bindings not accessible from repo.spring.io #304
Comments
For now, this is just temporary. We're about halfway through the brownout for today. After that ends, builds will start working again one the brownout is over. As mentioned above, you can work around this for now by setting We are working on moving this resource over to Maven Central, and we hope to have that done before the next brownout (Jan 12th). There is a caveat though. We can only change that in new buildpack releases. When that fix is released everyone will need to update to the latest buildpack to pick up that change. I'll keep this issue open & we'll post a note here when we have cut a new buildpack release that pulls from Maven Central. Thanks for being patient through this. It’s hard on everyone when a major infrastructure change happens. |
Thank you so much @dmikusa ! Really appreciate all your efforts and the detailed comment 😀 |
Thank you again @dmikusa ! :) |
Per https://spring.io/blog/2022/12/14/notice-of-permissions-changes-to-repo-spring-io-january-2023, Spring team is restricting anonymous access to their "release" path on
repo.spring.io
(among others). In the default configuration, the Spring Boot buildpack attempts to fetchpring-cloud-bindings
at a URL likehttps://repo.spring.io/release/org/springframework/cloud/spring-cloud-bindings/1.10.0/spring-cloud-bindings-1.10.0.jar
. This no longer works with the new policy onrepo.spring.io
.Expected Behavior
Buildpack build with Spring Boot buildpack and default settings should succeed.
Current Behavior
Buildpack build with Spring Boot buildpack and default settings fails. Error below:
Possible Solution
Spring Boot buildpack should fetch the spring-cloud-bindings release artifact from Maven Central or some other anonymous-access public repository.
Temporary workaround: disable Spring Cloud Bindings support by setting
"BP_SPRING_CLOUD_BINDINGS_DISABLED": "true"
Steps to Reproduce
gradle bootBuildImage
Motivations
Need builds to work :). Thank you!
The text was updated successfully, but these errors were encountered: