steadymade
steadymade
RRailway
Created by Pepijn on 2/15/2024 in #✋|help
Redeploy without cache
9 replies
RRailway
Created by steadymade on 2/16/2024 in #✋|help
how to disable build caching?
@Angelo, right after Cooper's PR merged I redeployed and it was a fresh build. The cron job just triggered and also redeployed with a fresh build. So it look likes it's working. I removed the NIXPACKS_NO_CACHE envvar in favor of NO_CACHE since I think Cooper said it was more ideal. Ticket now resolved. Thanks for the help guys!
121 replies
RRailway
Created by steadymade on 2/16/2024 in #✋|help
how to disable build caching?
what im seeing is, if you add/change and envar, the immediate redeploy after does run a fresh build step. but successive redeploys after do not
121 replies
RRailway
Created by steadymade on 2/16/2024 in #✋|help
how to disable build caching?
however, is there no way to redeploy where the build step can be forced fresh to be uncached?
121 replies
RRailway
Created by steadymade on 2/16/2024 in #✋|help
how to disable build caching?
k, perhaps it was intermittent such that we didn't know it was caching the build step for over a month, but was no caching it enough to where data was fresh. not sure.
121 replies
RRailway
Created by steadymade on 2/16/2024 in #✋|help
how to disable build caching?
somehow that one was fresh
121 replies
RRailway
Created by steadymade on 2/16/2024 in #✋|help
how to disable build caching?
121 replies
RRailway
Created by steadymade on 2/16/2024 in #✋|help
how to disable build caching?
Yes, I was expecting every redeploy to run the build step uncached. Which somehow worked for over a month. I've got the logs to prove it 😄
121 replies
RRailway
Created by steadymade on 2/16/2024 in #✋|help
how to disable build caching?
Brody, interesting idea! Hopefully it doesn't have to come to that.
121 replies
RRailway
Created by steadymade on 2/16/2024 in #✋|help
how to disable build caching?
No problem Angelo. I'm rooting for Railway and know that y'all are crazy busy with growth. Hopefully these kinds of issues help solve some fundamental features that can enable the mass exodus off heroku which is inevitable to the first competitor that can prove it's a seemless transition and comparable/better platform.
121 replies
RRailway
Created by steadymade on 2/16/2024 in #✋|help
how to disable build caching?
It's worth mentioning that when you first add a new envar that seems to run a fresh build step on next deploy, but on successive redeploys it does not.
121 replies
RRailway
Created by steadymade on 2/16/2024 in #✋|help
how to disable build caching?
@Brody, heroku caches deps (although you can even prevent that via envars) but they don't cache the build step
121 replies
RRailway
Created by steadymade on 2/16/2024 in #✋|help
how to disable build caching?
121 replies
RRailway
Created by steadymade on 2/16/2024 in #✋|help
how to disable build caching?
Jake recommended I try NO_CACHE=1 but that doesn't work either.
121 replies
RRailway
Created by steadymade on 2/16/2024 in #✋|help
how to disable build caching?
@Brody can you remove the marked solution?
121 replies
RRailway
Created by steadymade on 2/16/2024 in #✋|help
how to disable build caching?
I spoke too soon. It actually didn't solve it. It busts the cache the first deploy after, but not successive ones!
121 replies
RRailway
Created by Pepijn on 2/15/2024 in #✋|help
Redeploy without cache
Set an envar NIXPACKS_NO_CACHE to 1. Just worked for me.
9 replies
RRailway
Created by steadymade on 2/16/2024 in #✋|help
how to disable build caching?
It appears NIXPACKS_NO_CACHE solves the problem and freshly builds on deploy and redeploys. Thanks for the help guys!
121 replies
RRailway
Created by steadymade on 2/16/2024 in #✋|help
how to disable build caching?
Okay so I tried the NIXPACKS_NO_CACHE envar and it did in fact trigger a fresh build. Now if I were to hit the Redeploy action would it build another fresh build?
121 replies
RRailway
Created by steadymade on 2/16/2024 in #✋|help
how to disable build caching?
That'd be great to meet/discuss. If it's good with you, my colleague @Ben Hutton would be a huge addition to the call. We've been on Heroku for ~15 years and he's well versed in what's preventing our full move over to railway specifically re: our ruby apps and postgres, and I'm more versed on node app needs.
121 replies