Commit Graph

19 Commits (6fd13769ac12eb9c0f57e7d1a65ffdb6f2dd1b3b)

Author SHA1 Message Date
Aditya Maru 6fd13769ac src: disable native multi-arch builds 10 months ago
Aditya Maru feb3751245 src: only log fatal errors in tailscale teardown 10 months ago
Aditya Maru 4a3e86e9c9 src: add scaffolding for support multi-platform builds 10 months ago
Aayush 1390f95565 *: bind to localhost over TCP instead of using a unix socket 11 months ago
Aditya Maru 5ac445ae84 src: fix error message 12 months ago
Aayush 0e4788906e
src: bump buildkit startup timeout to 30sec 12 months ago
Aayush Shah d8a061af73
src: update timeout on `setupStickyDisk` (#91) 12 months ago
Aditya Maru 42b59d67c9 src: bump timeout from 30s to 45s 12 months ago
Aditya Maru 9fdeb57c53 src: disable automatic buildkit GC
We have reason to believe that automatic GC is affecting
daemon startup times. In this patch we disable automatic GC
and instead rely on manual pruning of the buildkit cache.
Once the daemon is ready we spawn an async task to run prune
on any objects older than 14 days. We are already manaing the
ceph volume approaching its size limit ourselves in the VM
Agent.

Patch also adds some alerting when inode usage is high on a mountpoint.
1 year ago
Aditya Maru 4723a2a346 src: stop spurious warnings on buildkit shutdown 1 year ago
Aditya Maru 9302d2aea9 src: stop running process as nohup to avoid missing logs 1 year ago
Aditya Maru ac42783fa9 src: cleanup flakiness in different parts of the action 1 year ago
Aditya Maru 54bc4e0788 src: refactor cleanup logic to expose buildkitd.log
Previosuly, we only killed the buildkitd process and unmounted
if builderInfo was non null. This was wrong cause we could have setup
builkdkitd, but failed after that step. This would then rely on the last
ditch effort by the post action to cleanup. We now change the proc kill
and unmount to happen on any build error.
1 year ago
Aditya Maru d43ee61bb7 *: move to grpc backed communication for the agent 1 year ago
Aditya Maru 0f99a0b1c7 src: start sending get request with query params
We are incorrectly using formData in a get request. To move
away from this we send both query params and formData until
the server is fully upgraded. After which we can stop sending
formData.
1 year ago
Aditya Maru 0186286e06 *: use axios-retry instead of handrolled retry methods 1 year ago
Aditya Maru b76cd7bf3b src: fix bug in conditional that zero'd out expose ID 1 year ago
Aayush f9d1e150a9
*: unify error handling and add more unit tests 1 year ago
Aditya Maru c71ad2dbef *: refactor methods to support mocking
Additionally, write some tests to ensure the driver method
`startBlacksmithBuilder` handles all exceptions correctly in
both nofallback=true and nofallback=false configurations.
1 year ago