heroku / heroku-buildpack-gradle

Heroku's buildpack for Gradle applications.
MIT License
63 stars 91 forks source link

Release v38 #108

Closed edmorley closed 2 years ago

edmorley commented 2 years ago

To pick up #105, #106 & #107.

GUS-W-11283397.

edmorley commented 2 years ago

CI is failing due to some of the Hatchet tests timing out.

I had to manually look up the apps/builds since the Hatchet output wasn't helpful.

This led me to:

$h builds:output -a hatchet-t-7b74c0bf6a c976ddb2-6a32-4f3a-8ea5-15dbe07fc59c
...
-----> Building on the Heroku-20 stack
-----> Using buildpack: https://github.com/heroku/heroku-buildpack-gradle#edmorley/release
-----> Gradle app detected
-----> Installing OpenJDK 1.8... done
-----> Building Gradle app...
-----> executing ./gradlew stage
       Downloading https://services.gradle.org/distributions/gradle-2.3-bin.zip
...
       Unzipping /tmp/codon/tmp/cache/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3-bin.zip to /tmp/codon/tmp/cache/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945
       Set executable permissions for: /tmp/codon/tmp/cache/.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/bin/gradle
       Download https://repo.grails.org/grails/core/org/grails/grails-gradle-plugin/3.0.1/grails-gradle-plugin-3.0.1.pom
       Download https://repo.grails.org/grails/core/com/bertramlabs/plugins/asset-pipeline-gradle/2.1.1/asset-pipeline-gradle-2.1.1.pom
...
       :assetCompile
       Download https://repo.grails.org/grails/core/org/postgresql/postgresql/9.4-1201-jdbc4/postgresql-9.4-1201-jdbc4.pom
       Download https://repo.grails.org/grails/core/org/grails/plugins/asset-pipeline/3.0.1/asset-pipeline-3.0.1.pom
       Download https://repo.grails.org/grails/core/org/postgresql/postgresql/9.4-1201-jdbc4/postgresql-9.4-1201-jdbc4.jar

       FAILURE: Build failed with an exception.

       * What went wrong:
       Could not resolve all dependencies for configuration ':runtime'.
       > Could not download asset-pipeline.jar (org.grails.plugins:asset-pipeline:3.0.1)
          > Could not GET 'https://repo.grails.org/grails/core/org/grails/plugins/asset-pipeline/3.0.1/asset-pipeline-3.0.1.jar'. Received status code 522 from server:

       * Try:
       Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

       BUILD FAILED

       Total time: 25 mins 35.534 secs

 !     ERROR: Failed to run Gradle!
       We're sorry this build is failing. If you can't find the issue in application
       code, please submit a ticket so we can help: https://help.heroku.com
       You can also try reverting to the previous version of the buildpack by running:
       $ heroku buildpacks:set https://github.com/heroku/heroku-buildpack-gradle#previous-version

       Thanks,
       Heroku

 !     Push rejected, failed to compile Gradle app.
edmorley commented 2 years ago

repo.grails.org is now back up, and so CI is passing.

edmorley commented 2 years ago

Published:

$ ./etc/publish.sh
Deploy as version: v38 [y/n]? y

Tagging commit b6a1d0da07f88dd9eb9365e04f4a81d6b8ba7d2f with v38...
Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
To https://github.com/heroku/heroku-buildpack-gradle
 * [new tag]         v38 -> v38
Two-factor code: ********************************************
Publishing buildpack heroku/gradle... done
Publishing buildpack was successful
Updating previous-version tag
Deleted tag 'previous-version' (was ed75d9b)
To https://github.com/heroku/heroku-buildpack-gradle
 - [deleted]         previous-version
Updating latest-version tag
Deleted tag 'latest-version' (was 23debc4)
To https://github.com/heroku/heroku-buildpack-gradle
 - [deleted]         latest-version
Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
To https://github.com/heroku/heroku-buildpack-gradle
 * [new tag]         latest-version -> latest-version
 * [new tag]         previous-version -> previous-version
Done.