Commit Graph

1169 Commits (ac765fe6196ce35a19899db24e1488119a748b7c)
 

Author SHA1 Message Date
Aditya Maru 4fe825e8c9
Merge pull request #90 from useblacksmith/warning-debug
src: change warning to debug
12 months ago
Aditya Maru 34ea2f79e5 src: change warning to debug 12 months ago
Aayush Shah 4ed3ba5c73
src: ignore unset sentinel value for tailscale token (#89) 12 months ago
Aditya Maru 7a4d18f15a
Merge pull request #88 from useblacksmith/bump-timeout
src: bump timeout from 30s to 45s
12 months ago
Aditya Maru 42b59d67c9 src: bump timeout from 30s to 45s 12 months ago
Aayush Shah c03b613806
use local dockerfile path over git context (#86) 12 months ago
Aditya Maru 8e7197156e
Merge pull request #87 from useblacksmith/vm-tailnet
src: join and leave tailnet on start and cleanup of builder
12 months ago
Aditya Maru aa6b213b0b src: join and leave tailnet on start and cleanup of builder 12 months ago
Aayush Shah 8b07a60ec3
Update README.md
Signed-off-by: Aayush Shah <aayush.shah15@gmail.com>
1 year ago
Aayush Shah fdc12bb01d
update README (#85) 1 year ago
Aditya Maru 8a782a7c2b
Merge pull request #80 from useblacksmith/gc-inode-tweaks
src: disable automatic buildkit GC
1 year 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 d0a5da09cc
Merge pull request #83 from useblacksmith/print-api-url
src: print api url in debug info
1 year ago
Aditya Maru 61713d1849 src: print api url in debug info 1 year ago
Aditya Maru 79d3930e8c
Merge pull request #82 from useblacksmith/silence-metric-warning
src: silence metric warnings for now
1 year ago
Aditya Maru 6fe2467492 src: silence metric warnings for now 1 year ago
Aditya Maru 6a143ed7fc
Merge pull request #81 from useblacksmith/use-backend-env
src: use the plumbed BLACKSMITH_BACKEND_URL if present
1 year ago
Aditya Maru 4759d93c12 src: use the plumbed BLACKSMITH_BACKEND_URL if present 1 year ago
Aditya Maru e836937c09
Merge pull request #79 from useblacksmith/wire-metrics
*: report metrics to the VM agent
1 year ago
Aditya Maru def1585067 *: report metrics to the VM agent 1 year ago
Aditya Maru 70572bc121
Merge pull request #78 from useblacksmith/debug-shutdown-spurious-warning
src: stop spurious warnings on buildkit shutdown
1 year ago
Aditya Maru 4723a2a346 src: stop spurious warnings on buildkit shutdown 1 year ago
Aditya Maru 31dd0ccbdd
Merge pull request #77 from useblacksmith/fix-shutdown
src: fix shutdown retry behavior
1 year ago
Aditya Maru 1672d6fbad src: fix shutdown retry behavior 1 year ago
Aditya Maru 726f2f6338
Merge pull request #76 from useblacksmith/run-diff
src: stop running process as nohup to avoid missing logs
1 year ago
Aditya Maru 9302d2aea9 src: stop running process as nohup to avoid missing logs 1 year ago
Aditya Maru e9a7d2cb89
Merge pull request #74 from useblacksmith/debug-failures
src: cleanup flakiness in different parts of the action
1 year ago
Aditya Maru ac42783fa9 src: cleanup flakiness in different parts of the action 1 year ago
Aditya Maru 7227817bb9
Merge pull request #73 from useblacksmith/socket-cat
src: refactor cleanup logic to expose buildkitd.log
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 8d0da8c56b
Merge pull request #72 from useblacksmith/move-to-grpc
*: move to grpc backed communication for the agent
1 year ago
Aditya Maru d43ee61bb7 *: move to grpc backed communication for the agent 1 year ago
Aditya Maru c7c50538d0
Merge pull request #71 from useblacksmith/subdue-noisy-log
main: ignore error when nothing is mounted
1 year ago
Aditya Maru 53000f0f59 ignore error when nothing is mounted 1 year ago
Aditya Maru 23eae444a4
Merge pull request #70 from useblacksmith/cleanup-failure
src: ignore error when theres nothing mounted
1 year ago
Aditya Maru 1df1b3c361 src: ignore error when theres nothing mounted 1 year ago
Aditya Maru 5b9a178332
Merge pull request #69 from useblacksmith/umount-timeout
src: make post unmount even if buildkitd is no longer present
1 year ago
Aditya Maru de0451e517 src: make post unmount even if buildkitd is no longer present
Also increase retries when trying to unmount the buildkit directory.
Retry up to 3 seconds now, previously we were only retrying 3 times
with a 100ms backoff.
1 year ago
Aditya Maru c6b6f32adc
Merge pull request #68 from useblacksmith/stop-sending-form-data
src: start sending get request with query params
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
Aayush Shah 7b8642822f
src: make `getDockerfilePath` return the full path to the dockerfile (#64)
Previously we were just returning the path to the dir containing the dockerfile
in most cases.
1 year ago
Aditya Maru a415504014
Merge pull request #66 from useblacksmith/alert-on-cleanup
src: alert if an exception is thrown on cleanup
1 year ago
Aditya Maru f06a558c36 src: alert if an exception is thrown on cleanup 1 year ago
Aditya Maru 1cc1561946
Merge pull request #65 from useblacksmith/fix-conditional
src: fix bug in conditional that zero'd out expose ID
1 year ago
Aditya Maru b76cd7bf3b src: fix bug in conditional that zero'd out expose ID 1 year ago
Aditya Maru 9f63c681ba
Merge pull request #63 from useblacksmith/refactor-for-tests
*: refactor methods to support mocking
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
Aditya Maru 15e5beff2d
Merge pull request #62 from useblacksmith/default-devdb
backend: default to /dev/vdb when ExposeVolume response is empty
1 year ago