Commit Graph

1176 Commits (4c54035b2bc8345b0bcbea925299c190cfbc4920)
 

Author SHA1 Message Date
Aditya Maru 37974fc17e
Merge pull request #94 from useblacksmith/01-09-src_prevent_path_duplication_when_dockerfile_is_within_context
src: prevent path duplication when dockerfile is within context
9 months ago
Aayush 8554acbf59
src: prevent path duplication when dockerfile is within context 9 months ago
Aditya Maru 82dd2a61b6
Merge pull request #93 from useblacksmith/fix-error-msg
src: fix error message
9 months ago
Aditya Maru 5ac445ae84 src: fix error message 9 months ago
Aditya Maru 3b96b27fed
Merge pull request #92 from useblacksmith/01-07-src_bump_buildkit_startup_timeout_to_30sec
src: bump buildkit startup timeout to 30sec
9 months ago
Aayush 0e4788906e
src: bump buildkit startup timeout to 30sec 9 months ago
Aayush Shah d8a061af73
src: update timeout on `setupStickyDisk` (#91) 9 months ago
Aditya Maru 4fe825e8c9
Merge pull request #90 from useblacksmith/warning-debug
src: change warning to debug
9 months ago
Aditya Maru 34ea2f79e5 src: change warning to debug 9 months ago
Aayush Shah 4ed3ba5c73
src: ignore unset sentinel value for tailscale token (#89) 9 months ago
Aditya Maru 7a4d18f15a
Merge pull request #88 from useblacksmith/bump-timeout
src: bump timeout from 30s to 45s
9 months ago
Aditya Maru 42b59d67c9 src: bump timeout from 30s to 45s 9 months ago
Aayush Shah c03b613806
use local dockerfile path over git context (#86) 9 months ago
Aditya Maru 8e7197156e
Merge pull request #87 from useblacksmith/vm-tailnet
src: join and leave tailnet on start and cleanup of builder
9 months ago
Aditya Maru aa6b213b0b src: join and leave tailnet on start and cleanup of builder 9 months ago
Aayush Shah 8b07a60ec3
Update README.md
Signed-off-by: Aayush Shah <aayush.shah15@gmail.com>
9 months ago
Aayush Shah fdc12bb01d
update README (#85) 9 months ago
Aditya Maru 8a782a7c2b
Merge pull request #80 from useblacksmith/gc-inode-tweaks
src: disable automatic buildkit GC
9 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.
9 months ago
Aditya Maru d0a5da09cc
Merge pull request #83 from useblacksmith/print-api-url
src: print api url in debug info
9 months ago
Aditya Maru 61713d1849 src: print api url in debug info 9 months ago
Aditya Maru 79d3930e8c
Merge pull request #82 from useblacksmith/silence-metric-warning
src: silence metric warnings for now
9 months ago
Aditya Maru 6fe2467492 src: silence metric warnings for now 9 months ago
Aditya Maru 6a143ed7fc
Merge pull request #81 from useblacksmith/use-backend-env
src: use the plumbed BLACKSMITH_BACKEND_URL if present
9 months ago
Aditya Maru 4759d93c12 src: use the plumbed BLACKSMITH_BACKEND_URL if present 9 months ago
Aditya Maru e836937c09
Merge pull request #79 from useblacksmith/wire-metrics
*: report metrics to the VM agent
9 months ago
Aditya Maru def1585067 *: report metrics to the VM agent 9 months ago
Aditya Maru 70572bc121
Merge pull request #78 from useblacksmith/debug-shutdown-spurious-warning
src: stop spurious warnings on buildkit shutdown
9 months ago
Aditya Maru 4723a2a346 src: stop spurious warnings on buildkit shutdown 9 months ago
Aditya Maru 31dd0ccbdd
Merge pull request #77 from useblacksmith/fix-shutdown
src: fix shutdown retry behavior
9 months ago
Aditya Maru 1672d6fbad src: fix shutdown retry behavior 9 months ago
Aditya Maru 726f2f6338
Merge pull request #76 from useblacksmith/run-diff
src: stop running process as nohup to avoid missing logs
9 months ago
Aditya Maru 9302d2aea9 src: stop running process as nohup to avoid missing logs 9 months ago
Aditya Maru e9a7d2cb89
Merge pull request #74 from useblacksmith/debug-failures
src: cleanup flakiness in different parts of the action
9 months ago
Aditya Maru ac42783fa9 src: cleanup flakiness in different parts of the action 9 months ago
Aditya Maru 7227817bb9
Merge pull request #73 from useblacksmith/socket-cat
src: refactor cleanup logic to expose buildkitd.log
9 months 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.
9 months ago
Aditya Maru 8d0da8c56b
Merge pull request #72 from useblacksmith/move-to-grpc
*: move to grpc backed communication for the agent
9 months ago
Aditya Maru d43ee61bb7 *: move to grpc backed communication for the agent 9 months ago
Aditya Maru c7c50538d0
Merge pull request #71 from useblacksmith/subdue-noisy-log
main: ignore error when nothing is mounted
9 months ago
Aditya Maru 53000f0f59 ignore error when nothing is mounted 9 months ago
Aditya Maru 23eae444a4
Merge pull request #70 from useblacksmith/cleanup-failure
src: ignore error when theres nothing mounted
9 months ago
Aditya Maru 1df1b3c361 src: ignore error when theres nothing mounted 9 months ago
Aditya Maru 5b9a178332
Merge pull request #69 from useblacksmith/umount-timeout
src: make post unmount even if buildkitd is no longer present
9 months 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.
9 months ago
Aditya Maru c6b6f32adc
Merge pull request #68 from useblacksmith/stop-sending-form-data
src: start sending get request with query params
10 months 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.
10 months ago
Aditya Maru 0186286e06 *: use axios-retry instead of handrolled retry methods 10 months 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.
10 months ago
Aditya Maru a415504014
Merge pull request #66 from useblacksmith/alert-on-cleanup
src: alert if an exception is thrown on cleanup
10 months ago