Aditya Maru
6d7db93fa2
src: bump socket creation timeout to 5s from 3s
1 year ago
Aditya Maru
c308f14958
src: report the correct sticky disk key
1 year ago
Aditya Maru
17d922af1a
src: shuttle a expose ID between expose and commit
1 year ago
Aditya Maru
a55bae5255
src: prevent top-level ref variable from being shadowed
1 year ago
Aditya Maru
9841eabab1
src: only resolve buildref on success
1 year ago
Aditya Maru
4938a7e10a
src: change arch to use BLACKSMITH_ENV
1 year ago
Aditya Maru
9336122050
src: add some idempotent cleanup safeguard in post action
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
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
c33190b3c9
src: add local mirror to buildkit toml
1 year ago
Aditya Maru
1dee25cffd
src: fix the movement of cleanup to the main step
1 year ago
Aditya Maru
f16c36e819
src: add resize2fs call if the block device is formatted
1 year ago
Aditya Maru
e1da38ff9d
src: add petname and vmID to notification
1 year ago
Aditya Maru
ac4af6279b
src: move shutdown, cleanup, commit from post to after build
1 year ago
Aditya Maru
138e3a2a14
dist: cat buildkit log file if build fails
1 year ago
Aayush Shah
bdd6696880
Only use buildRef if it exists ( #42 )
1 year ago
Aayush Shah
03e2c54ea5
report cache hit ratio and build size back to backend ( #40 )
1 year ago
Aayush Shah
ed90c2b818
log the input context as well as the final context ( #39 )
1 year ago
Aditya Maru
3cdd1d81fc
*: blkid returns non-zero code if no fs found
1 year ago
Aditya Maru
88ab597dfe
*: move formatting of the block device to the client
...
Previously, we were incorrectly formatting the block device
on the ceph server. This could cause corruption. As a mitigation
we now conditionally format the block device on the client. This
should only kick in if a previous parent clone has not already been
formatted.
1 year ago
Aditya Maru
b83388c4ca
*: inline headers
1 year ago
Aayush Shah
a6005ce994
record and report docker build duration seconds ( #33 )
1 year ago
Aayush Shah
7d2e9e7288
log the full request URL ( #32 )
1 year ago
Aayush Shah
4e686a61f2
log the status code in the build reporting warning ( #30 )
1 year ago
Aayush Shah
fc356a7e65
inline some logic ( #29 )
1 year ago
Aayush Shah
5dc5ef6baa
stop messing up API client headers in requests to backend ( #28 )
1 year ago
Aayush Shah
562ddafb4b
rename a method and add some debug logging ( #27 )
1 year ago
Aayush Shah
c50dbd0552
dont fail the build if we fail to contact backend ( #26 )
1 year ago
Aayush Shah
51601ec916
report builds to the backend ( #25 )
1 year ago
Aayush Shah
0488127ec0
correct warning log line ( #22 )
1 year ago
Aayush Shah
daa8a63bfa
rename getRemoteBuilderAddr to getBuilderAddr ( #21 )
1 year ago
Aayush Shah
5d3ec55e86
fix lint errors ( #20 )
1 year ago
Aditya Maru
d13406287c
remove some core info lines
1 year ago
Aditya Maru
dbdd453773
check if headers are override
1 year ago
Aditya Maru
fca4e68484
fix naming of request options
1 year ago
Aditya Maru
32418bd064
send request options as json
1 year ago
Aditya Maru
36669c3483
fix sentry endpoint
1 year ago
Aditya Maru
31a478457f
*: hit sentry on failures to get remote docker builders
1 year ago
Aditya Maru
d778ef8660
*: ignore the inputs builder
1 year ago
Aditya Maru
279255870a
add retry to umount logic incase proc is still running
1 year ago
Aditya Maru
f8e57e8819
*: clear up logs
1 year ago
Aditya Maru
5e4f9e6868
more debugging
1 year ago
Aditya Maru
ae321d5513
add some more debugging for arm builds
1 year ago
Aditya Maru
6211bc2630
src: dont fatal on shutdown
1 year ago
Aditya Maru
0f425d2ea6
add missing vmID in form data
1 year ago
Aditya Maru
562b173de2
dont retry on 500 and plumb 500 through
1 year ago
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.
1 year ago
Aayush
6f9ad79a61
point staging runs to staging anvil
1 year ago
Aayush
6f17c30763
rely on `GITHUB_REPOSITORY` to get the repo name
1 year ago