6 months ago
We're rolling out a new metal-based build environment (in beta) and we'd love your help testing 
Go to your service settings > Build > enable the flag
This is currently available in the US-west region, Europe and Asia regions will be available later this week.
Reply to this post if you run into any issues
Attachments
0 Threads mention this feature
15 Replies
Status changed to In Progress mahmoud-railway • 6 months ago
6 months ago
Are there any plans to support providing environmental variables to the build process?
samgordon
Are there any plans to support providing environmental variables to the build process?
6 months ago
It should already be supported; it is on the v1 builder, so if it's not supported on the v3 builder, that is a regression.
6 months ago
Oh, I swear I remember them not being passed. I have not tested if it works on v3. Thanks!
5 months ago
So I enabled this to test it out, and my build hangs on "exporting to docker image format", so I went to disable the metal build environment, but the toggle won't switch back, so I'm stuck on it.
keetch
So I enabled this to test it out, and my build hangs on "exporting to docker image format", so I went to disable the metal build environment, but the toggle won't switch back, so I'm stuck on it.
5 months ago
Thanks for the report, we are going to look into it.
brody
Thanks for the report, we are going to look into it.
5 months ago
I was able to switch it back by removing railway.json from my project.
brody
It should already be supported; it is on the v1 builder, so if it's not supported on the v3 builder, that is a regression.
5 months ago
I've tried the new builder, but it always fails on a build step during bun install as it doesn't see an env variable auth token
5 months ago
Looking forward to this becoming available in the us-east region! Long build and deployment times (and often inconsistent times) is my only complaint about Railway.
4 months ago
i have tried this, but for me basic railpack still faster than this. or did i do something wrong?
Attachments
4 months ago
This doesn't seem to work correctly for me, this was enabled at some point on my services without me turning it on, and now I'm getting errors when trying to build with Railway erroring out saying it can't find my Dockerfile file within my root directory.
4 months ago
I didn't get build errors per say but we did get some bundling issues with our Expo web app with this enabled that we noticed only a few minutes after we deployed to production. It doesn't happen all the time, but even just one time was concerning. Wasn't happening in our sandbox environment.
3 months ago
I have a Rails app using the Itsi web server. When running the app after building it on Metal, it crashes with /usr/local/bundle/ruby/3.3.0/gems/itsi-server-0.2.17/lib/itsi/server/itsi_server.so: [BUG] Illegal instruction at 0x00007fcd4b9ca5f6.
When building it on the old build env, it works fine.
buhrmi
I have a Rails app using the Itsi web server. When running the app after building it on Metal, it crashes with /usr/local/bundle/ruby/3.3.0/gems/itsi-server-0.2.17/lib/itsi/server/itsi_server.so: [BUG] Illegal instruction at 0x00007fcd4b9ca5f6.When building it on the old build env, it works fine.
2 months ago
In case you'd like to repro this, you can use my minimal buhrmi/railway-itsi-test GitHub repo, which only includes a Dockerfile with the Itsi web server.
buhrmi
I have a Rails app using the Itsi web server. When running the app after building it on Metal, it crashes with /usr/local/bundle/ruby/3.3.0/gems/itsi-server-0.2.17/lib/itsi/server/itsi_server.so: [BUG] Illegal instruction at 0x00007fcd4b9ca5f6.When building it on the old build env, it works fine.
2 months ago
okay, this has been fixed 
13 hours ago
We're also finding the Meta Builds rather slow. When compared with previous, taking as long, sometimes longer. We're also finding them quite impedictable.
For example, we're just having an image build running for 15 min. When 10 min earlier, the same image build ran in 2 min.

