BillK0001
BillK0001
RRailway
Created by BillK0001 on 1/6/2024 in #✋|help
GitHub access problems during build
thanks! As soon as I figure out how to "buy coffee" or "buy railway" I'll send something your way.
18 replies
RRailway
Created by BillK0001 on 1/6/2024 in #✋|help
GitHub access problems during build
18 replies
RRailway
Created by BillK0001 on 1/6/2024 in #✋|help
GitHub access problems during build
providers = ['...'] [phases.setup] cmds = [ "echo custom setup", "echo copying local jar ...", "mvn install:install-file -Dfile=./PrivateJars/fd-core-0.0.1-SNAPSHOT.jar -DpomFile=./PrivateJars/pom.xml", "...", "echo custom setup complete" ] [phases.build] dependsOn = ["setup"] restartPolicyMaxRetries = 1 cmds = [ "echo custom build", "...", "java -Dserver.port=$PORT -Dspring.profiles.active=production $JAVA_OPTS -jar target/*jar", "echo custom build complete" ]
18 replies
RRailway
Created by BillK0001 on 1/6/2024 in #✋|help
GitHub access problems during build
I was able to get this working by building a custom nixpacks build. In the "setup" phase, I install the jar file locally and then do a normal build. The build/deploy process creates the service and I'm able to use it but my dashboard shows the service in a perpetual "building" state. Not sure why it's doing that. Here's a copy of my build file:
18 replies
RRailway
Created by BillK0001 on 1/6/2024 in #✋|help
GitHub access problems during build
.... still kind of a noob at this but was thinking of just packaging the jar file in the repo that depends on it.
18 replies
RRailway
Created by BillK0001 on 1/6/2024 in #✋|help
GitHub access problems during build
Darn! Thanks for the insight. Was spinning my wheels for a while on this. Now have to come up with another solution to get my builds to work. Would rather not make the maven package public at th emoment.
18 replies
RRailway
Created by BillK0001 on 1/6/2024 in #✋|help
GitHub access problems during build
That's the error where I substituted XXXX for my github account id (for privacy 🙂 )
18 replies
RRailway
Created by BillK0001 on 1/6/2024 in #✋|help
GitHub access problems during build
Failed to execute goal on project sattrackboot: Could not resolve dependencies for project com.wjk:sattrackboot🫙0.0.1-SNAPSHOT: Failed to collect dependencies at XXXXX:fd-core🫙0.0.1-SNAPSHOT: Failed to read artifact descriptor for XXXXX:fd-core🫙0.0.1-SNAPSHOT: The following artifacts could not be resolved: XXXXX:fd-core:pom:0.0.1-SNAPSHOT (absent): Could not transfer artifact XXXXX:fd-core:pom:0.0.1-SNAPSHOT from/to github (https://maven.pkg.github.com/XXXXXX: status code: 401, reason phrase: Unauthorized (401)
18 replies
RRailway
Created by BillK0001 on 1/6/2024 in #✋|help
GitHub access problems during build
yes, the error is captured in the build logs on railway.
18 replies