Closed mokolabs closed 4 years ago
The S3 bucket got deleted as part of an unrelated AWS consolidation effort. We don't have access to the prior contents. The original Cedar 14 deprecation date is months past. We've only extended it due to COVID. If it weren't for that you would be prevented from deploying to Cedar-14 at all. The last change to that branch is 5 years ago. It was intended to be a stop-gap solution to allow people to temporarily use older rubies while they work to upgrade their apps.
While the deleting of this bucket was not intentional I do not plan on restoring this functionality.
Actually looking at the failure mode. We do have similar contents this might work:
$ curl -I https://lang-jvm.s3.amazonaws.com/jdk/cedar-14/openjdk1.7-latest.tar.gz
HTTP/1.1 200 OK
If you fork the buildpack branch and test it out on your app (update the lib/language_pack/helpers/jvm_installer.rb) to point at the new location, I could accept a PR to that branch to continue providing support for the next few months until the hard cedar-14 sunset.
Thanks for the response, @schneems. I really appreciate it.
I figured something like that happened with the missing download. I was just dealing with the dangers of AWS bucket cleanups on another project. You can never truly know for sure what's in use and what can be safely deleted.
I've already patched this and successfully redeployed our app with the fix, so I will go ahead and submit that PR now. 👍
Hey, folks.
I've got a production legacy app running Rails 2.3 / Ruby 1.8.7 on Cedar 14 with this buildpack.
The app is stable and has been running fine for years, but once in a while, we need to push out a configuration change or other minor tweak.
But I'm unable to deploy to production now. The app bundle builds successfully, but then the build fails while attempting to install the JVM via this URL: http://heroku-jdk.s3.amazonaws.com/openjdk7-latest.tar.gz
If you try to access that URL for openjdk7, you get this error:
So... the build seems to be failing because the openjdk7 package is missing from Heroku's S3 account or otherwise disabled.
The app is running on Cedar 14 which was slated for EOL on May 1, 2020... but the EOL deadline has been extended to Nov 2, 2020 due to Covid, so deploys should still be possible until then.
Here's the full output from my build, if you're curious: