Avoid unecessary builds by ignoring files/folders

Anonymous
TRIAL

4 years ago

example : I don't want Railway to rebuild everything for a single ligne edit on a README file

Completed

9 Replies

4 years ago

Would something like a .railwayignore file work?


Anonymous
TRIAL

4 years ago

Would something like a .railwayignore file work?

Jake Runzer: Sure !


4 years ago

Great request but unsure what this looks like JUST yet (.railwayignore might be it but feels odd)
There's a lot of neat stuff we can build on

Status changed to Under Review jake almost 4 years ago


Anonymous
TRIAL

4 years ago

Great request but unsure what this looks like JUST yet (.railwayignore might be it but feels odd)
There's a lot of neat stuff we can build on

Jake Cooper: Something like a Procfile where we can configure (future) options ? and then a key for ignoring files/folders/glob pattern ?


4 years ago

My use-case: I've have a Dockerfile at the root of my repo but I still don't want railway to use docker for deployment. How can I opt out of it?



Anonymous
TRIAL

3 years ago

rignt now, all of my prs lead to builds regardless of code change since it is in a monorepo


3 years ago

My use-case: I've have a Dockerfile at the root of my repo but I still don't want railway to use docker for deployment. How can I opt out of it?

Yashu Mittal: Simply renaming it to dev.Dockerfile. Not optimal. We might wanna let you define in the UI


Anonymous

3 years ago

Would something like a .railwayignore file work?

Jake Runzer: Not in the case of a monorepo since we need a .railwayignore per service


Anonymous

3 years ago

I have a similar need but for monorepos. I have 7 apps in it and if I make a change on one, all the 7 apps are build.
Now, monorepos are extra tricky because a change on an app may require a build in another app due to their dependencies


3 years ago

Status changed to Completed jake almost 3 years ago


Avoid unecessary builds by ignoring files/folders - Railway Help Station