Commit Graph

10 Commits

Author SHA1 Message Date
Aditya Maru feb3751245 src: only log fatal errors in tailscale teardown 2025-03-03 22:55:54 -05:00
Aditya Maru 4a3e86e9c9 src: add scaffolding for support multi-platform builds 2025-02-17 05:25:52 +05:30
Aayush 1390f95565 *: bind to localhost over TCP instead of using a unix socket 2025-02-10 23:06:21 -05:00
Aditya Maru def1585067 *: report metrics to the VM agent 2024-12-20 17:43:40 -05:00
Aditya Maru d43ee61bb7 *: move to grpc backed communication for the agent 2024-12-16 15:29:30 -05:00
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.
2024-12-09 13:01:35 -05:00
Aditya Maru 0186286e06 *: use axios-retry instead of handrolled retry methods 2024-12-09 13:01:20 -05:00
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.
2024-12-08 14:35:30 -05:00
Aditya Maru 3b1df39d5d *: teach action to hot load sticky disks
This change teaches the build push action to request a stickydisk
every time it runs. Once the SD is hotloaded the VM will mount
the buildkit root dir and starts buildkitd.
2024-11-01 21:14:17 +05:30
Aditya Maru 29a5593aa1 *: basic scaffolding for build-push-action
1. Checks we have buildx installed
2. Configures a remote builder if we get an address back
3. Uses the already configured builder if we don't get an address back

This change does not plumb the dockerfile path through as the entity,
and does not differentiate a failed build from a succesful to report
to anvil in the post step yet.
2024-09-11 20:08:08 -04:00