Caelum
Caelum
RRailway
Created by Caelum on 10/7/2023 in #✋|help
Errors with gradle tasks that write files
Though now I am getting a lock error because I had 2 builds running simultaneously, so I do think this is a cause for many bugs that should be addressed (e.g. use a proper gradle supported read-only cache) by nixpack devs - not that I believe this to be Railway's responsibility, but thought i'd note
5 replies
RRailway
Created by Caelum on 10/7/2023 in #✋|help
Errors with gradle tasks that write files
Actually, it seems it is just the kotlin embedded compiler that has this issue with the permissions, no idea why, but I didn't need need it in production anyway
5 replies
RRailway
Created by Caelum on 10/7/2023 in #✋|help
Errors with gradle tasks that write files
https://docs.gradle.org/current/userguide/dependency_resolution.html#sub:ephemeral-ci-cache seems it's not recommended to use .gradle as a cached volume, I'm trying a modified version of the nixpack generated Dockerfile now using GRADLE_RO_DEP_CACHE on a separate read-only cache directory
5 replies