Can we determine the sequence of deployments?
I'm using Turborepo and I want to make sure my backend is deployed before my frontend, pushing to the repo will kick of both services to deploy at the same time.
Is there any way to configure this?
16 Replies
Project ID:
N/A
there unfortunately isn't
Are there any workarounds? guessing this is a common issue
If not i'll have to disable automatic deploys and manually connect and disconnect with each deployment
maybe this can help you after all https://bookmarklets.up.railway.app/service-redeploy/
though you do need a connected branch
Yeah I don't think that would work in my case
yeah doesnt seem like it
Is it possible to trigger a deployment via an API?
Seems weird that they claim to support monorepos without allowing for sequential deployments or some kind of work around
the /health path with retries may be an option as well
Is it possible to trigger a deployment via an API?yes, thats what the bookmarklet does, you need a branch or else railway isnt going to know what branch to pull the code from
Ah yeah, only works for connected branches so doesn't help
drop a feature request here? https://community.railway.app/feature-request
Just looking through the API and there doesn't seem to be any way of manually triggering a deploy
I'll have to switch to deploy from an image instead and use CI actions to control when they are pushed to the repo, seems pretty wild they don't have this already... i'll make a feature request like you said
sounds good!
@Sid please stop opening old threads
Just asking for people that asked for the feature to comment / upvote the feature request.
let's not do that please, some of those where 2 years old and someone had people who aren't here anymore
They may be old but they are still referenced by people searching for issues they are facing
thank you for understanding