drewbie
drewbie
Explore posts from servers
RRailway
Created by drewbie on 2/26/2024 in #✋|help
Creating a new deployment
I am trying to redeploy a service we have using the current main branch of Github. I seem to remember there being a button to trigger a manual deploy, but I'm not seeing it anymore? Clicking the triple dot and clicking redeploy just redeploys with the exact same config as that instance. We are just trying to redeploy and have it use the current main branch. https://railway.app/project/d36cedc3-d1a4-453b-9e36-45d7299cabfd/service/c3980b43-5e96-42bc-9df9-db795d534858
8 replies
RRailway
Created by drewbie on 2/12/2024 in #✋|help
Error running yarn commands
One of our services is having issues running yarn commands during its build. We hadn't changed any of the config with this project since it running successfully last week, but we are now seeing the error
ERROR: failed to solve: process "/bin/bash -ol pipefail -c yarn install --frozen-lockfile" did not complete successfully: exit code: 1
ERROR: failed to solve: process "/bin/bash -ol pipefail -c yarn install --frozen-lockfile" did not complete successfully: exit code: 1
When trying to run
yarn install --frozen-lockfile
yarn install --frozen-lockfile
Any help on this would be appreciated.
6 replies
RRailway
Created by drewbie on 2/6/2024 in #✋|help
Deploying with a GitHub Action
I'm looking for some pointers on how to deploy our app via GitHub actions. Specifically I am having trouble specifying the environment when I link the project. I have tried running
railway environment [env]
railway environment [env]
This works and links to that environment. However, when I follow it up with
railway link [project_id]
railway link [project_id]
it prompts me for the environment to deploy to. Is there a way to provide an environment flat to the link so that it knows which environment to deploy to with running
railway up
railway up
? Any help on this would be appreciated. What I am ultimately trying to do it deploy to a specific service, within a specifc environment from a Github action.
69 replies
RRailway
Created by drewbie on 8/24/2023 in #✋|help
Cannot change default provider for environment thats created during GitHub Pull Request
I posted about this a while back (https://discord.com/channels/713503345364697088/1126899693549531136) but I cannot seem to get it to work. The default provider thats used when a PR is created is Deno, and I'd like it to be node. Ive added a nixpacks.toml file to the directory of the service thats being deployed but it doesnt seem to take effect. Any help is appreciated.
85 replies
RRailway
Created by drewbie on 3/1/2023 in #✋|help
Curious why build is taking 35 minutes?
I have a build that's taking 35 minutes and I cannot figure out why. It seems to get hung when its in the 'Publishing Image' state and then itll just update to complete after ~30 minutes after the build logs are already hung. https://railway.app/project/d36cedc3-d1a4-453b-9e36-45d7299cabfd/service/d6fef121-dc63-46e1-85ae-a9c75f47dbfc?id=365d17aa-4a4f-4c6a-b688-245961f0da67
3 replies
RRailway
Created by drewbie on 11/15/2022 in #✋|help
Trouble deploying monorepo app
I've been spinning my wheels for a while no trying to get my monorepo app to deploy and figured I'd come here to see if anyone could help out! Am I able to just run ts-node off of the monorepo source code and not have to compile any dependencies? My trouble seems to be trying to compile the app as the shared dependencies are not loading correctly. I realize this is more of a ts build config concern than a Railway concern, which is why I was leaning towards finding an approach that can just run the ts-node command off of the uncompiled code to just bypass this all together. I tried running railway up from the root of the monorepo, but I get a 413 saying that its too large. When I'm running up from the app directory/workspace itself, is that just uploading the code from that directory? The dependencies are handled at the top level of the monorepo so I'm just trying to wrap my head around what approach I should be taking. I've followed the guides, but still cant seem to get anywhere.
Any help is appreciated!
154 replies