Commit Graph

1088 Commits (d43ee61bb7cd7de5d0b3bdc21e029a0c6905a29e)
 

Author SHA1 Message Date
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
Aditya Maru 5ab78173d3 backend: default to /dev/vdb when ExposeVolume response is empty 1 year ago
Aditya Maru 96821d6e49
Merge pull request #61 from useblacksmith/use-expose-resp
backend: use device returned in ExposeVolume response
1 year ago
Aditya Maru edc01b36df backend: use device returned in ExposeVolume response 1 year ago
Aditya Maru 3d09910efc
Merge pull request #60 from useblacksmith/stickykey-commit
src: send stickydisk key with commit
1 year ago
Aditya Maru 72c7e93db9 src: send stickydisk key with commit 1 year ago
Aditya Maru e00a3895c3
Merge pull request #58 from useblacksmith/bump-sock-timeout
src: bump socket creation timeout to 5s from 3s
1 year ago
Aditya Maru 6d7db93fa2 src: bump socket creation timeout to 5s from 3s 1 year ago
Aditya Maru 2d7d5ad6c2
Merge pull request #57 from useblacksmith/fix-report
src: report the correct sticky disk key
1 year ago
Aditya Maru c308f14958 src: report the correct sticky disk key 1 year ago
Aditya Maru 0fb5318cf4
Merge pull request #56 from useblacksmith/shuttle-exposeid
src: shuttle a expose ID between expose and commit
1 year ago
Aditya Maru 17d922af1a src: shuttle a expose ID between expose and commit 1 year ago
Aditya Maru 4d1a78faea
Merge pull request #55 from useblacksmith/delete-ref-overload
src: prevent top-level ref variable from being shadowed
1 year ago
Aditya Maru a55bae5255 src: prevent top-level ref variable from being shadowed 1 year ago
Aditya Maru 6622b6936e
Merge pull request #54 from useblacksmith/fix-misplaced
src: only resolve buildref on success
1 year ago
Aditya Maru 9841eabab1 src: only resolve buildref on success 1 year ago
Aditya Maru 99d48d070c
Merge pull request #53 from useblacksmith/change-env-process
src: change arch to use BLACKSMITH_ENV
1 year ago
Aditya Maru 4938a7e10a src: change arch to use BLACKSMITH_ENV 1 year ago
Aditya Maru b7eb016d1a
Merge pull request #52 from useblacksmith/safe-guard-cleanup
src: add some idempotent cleanup safeguard in post action
1 year ago
Aditya Maru 9336122050 src: add some idempotent cleanup safeguard in post action 1 year ago
Aditya Maru 2ca2ad464d
Merge pull request #51 from useblacksmith/wrap-err
src: wrap all steps after blacksmith builder in try catch
1 year ago
Aditya Maru bdf7f0bb37 src: wrap all steps after blacksmith builder in try catch
This ensures we always run cleanup if any step after creating the Blacksmith
builder errors out.
1 year ago
Aditya Maru 02f42e1599
Merge pull request #50 from useblacksmith/make-action-idempotent
src: change sticky disk key to repo name
1 year ago
Aditya Maru 9b63433194 src: make blacksmith builder name unique 1 year ago
Aditya Maru bda6587832 src: change sticky disk key to repo name 1 year ago
Aditya Maru 7cbe92e7ed
Merge pull request #49 from useblacksmith/use-mirror
src: add local mirror to buildkit toml
1 year ago
Aditya Maru c33190b3c9 src: add local mirror to buildkit toml 1 year ago
Aditya Maru 7e9c6bd324
Merge pull request #48 from useblacksmith/fix-ordering
src: fix the movement of cleanup to the main step
1 year ago
Aditya Maru 1dee25cffd src: fix the movement of cleanup to the main step 1 year ago
Aditya Maru eb6486e7e1
Merge pull request #47 from useblacksmith/resize
src: add resize2fs call if the block device is formatted
1 year ago
Aditya Maru f16c36e819 src: add resize2fs call if the block device is formatted 1 year ago
Aditya Maru d197edcd29
Merge pull request #46 from useblacksmith/vm-notification
src: add petname and vmID to notification
1 year ago