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
f06a558c36
src: alert if an exception is thrown on cleanup
10 months ago
Aditya Maru
b76cd7bf3b
src: fix bug in conditional that zero'd out expose ID
10 months ago
Aayush
f9d1e150a9
*: unify error handling and add more unit tests
10 months 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.
10 months ago
Aditya Maru
5ab78173d3
backend: default to /dev/vdb when ExposeVolume response is empty
10 months ago
Aditya Maru
edc01b36df
backend: use device returned in ExposeVolume response
10 months ago
Aditya Maru
72c7e93db9
src: send stickydisk key with commit
10 months ago
Aditya Maru
6d7db93fa2
src: bump socket creation timeout to 5s from 3s
10 months ago
Aditya Maru
c308f14958
src: report the correct sticky disk key
10 months ago
Aditya Maru
17d922af1a
src: shuttle a expose ID between expose and commit
10 months ago
Aditya Maru
a55bae5255
src: prevent top-level ref variable from being shadowed
10 months ago
Aditya Maru
9841eabab1
src: only resolve buildref on success
10 months ago
Aditya Maru
4938a7e10a
src: change arch to use BLACKSMITH_ENV
10 months ago
Aditya Maru
9336122050
src: add some idempotent cleanup safeguard in post action
10 months 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.
10 months ago
Aditya Maru
9b63433194
src: make blacksmith builder name unique
10 months ago
Aditya Maru
bda6587832
src: change sticky disk key to repo name
10 months ago
Aditya Maru
c33190b3c9
src: add local mirror to buildkit toml
10 months ago
Aditya Maru
1dee25cffd
src: fix the movement of cleanup to the main step
10 months ago
Aditya Maru
f16c36e819
src: add resize2fs call if the block device is formatted
10 months ago
Aditya Maru
e1da38ff9d
src: add petname and vmID to notification
10 months ago
Aditya Maru
ac4af6279b
src: move shutdown, cleanup, commit from post to after build
10 months ago
Aditya Maru
138e3a2a14
dist: cat buildkit log file if build fails
10 months ago
Aayush Shah
bdd6696880
Only use buildRef if it exists ( #42 )
10 months ago
Aayush Shah
658750494f
workflows: add workflow to avoid checking in ungenerated code ( #41 )
10 months ago
Aditya Maru
3cdd1d81fc
*: blkid returns non-zero code if no fs found
10 months 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.
10 months ago
Aditya Maru
b83388c4ca
*: inline headers
10 months ago
Aayush Shah
a6005ce994
record and report docker build duration seconds ( #33 )
10 months ago
Aayush Shah
7d2e9e7288
log the full request URL ( #32 )
10 months ago
Aayush Shah
3b6e3e7be4
update generated code ( #31 )
10 months ago
Aayush Shah
fc356a7e65
inline some logic ( #29 )
10 months ago
Aayush Shah
562ddafb4b
rename a method and add some debug logging ( #27 )
10 months ago
Aayush Shah
c50dbd0552
dont fail the build if we fail to contact backend ( #26 )
10 months ago
Aayush Shah
51601ec916
report builds to the backend ( #25 )
10 months ago
Aayush Shah
363377eec6
update generated code ( #24 )
10 months ago
Aditya Maru
d13406287c
remove some core info lines
10 months ago
Aditya Maru
dbdd453773
check if headers are override
10 months ago
Aditya Maru
fca4e68484
fix naming of request options
10 months ago
Aditya Maru
32418bd064
send request options as json
10 months ago
Aditya Maru
36669c3483
fix sentry endpoint
10 months ago
Aditya Maru
31a478457f
*: hit sentry on failures to get remote docker builders
10 months ago
Aditya Maru
d778ef8660
*: ignore the inputs builder
10 months ago
Aditya Maru
279255870a
add retry to umount logic incase proc is still running
11 months ago
Aditya Maru
f8e57e8819
*: clear up logs
11 months ago
Aditya Maru
5e4f9e6868
more debugging
11 months ago
Aditya Maru
ae321d5513
add some more debugging for arm builds
11 months ago
Aditya Maru
6211bc2630
src: dont fatal on shutdown
11 months ago
Aditya Maru
0f425d2ea6
add missing vmID in form data
11 months ago
Aditya Maru
417c6d6fdf
dist: missed build regen
11 months 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.
11 months ago
Aayush
6f9ad79a61
point staging runs to staging anvil
12 months ago
Aayush
6f17c30763
rely on `GITHUB_REPOSITORY` to get the repo name
12 months ago
Aayush Shah
3f6698f877
tls ( #12 )
...
* tls
* set up tls while creating the remote builder
12 months ago
Aayush
6960b243a5
improve error logging
12 months ago
Aayush Shah
9c81a9e3dd
only retry build task submission on ephemeral server errors ( #11 )
12 months ago
Aayush Shah
2fe866cc23
retry on ephemeral http errors ( #10 )
12 months ago
Aayush
717de04552
revert back to logging task id
12 months ago
Aayush
c675e14e3a
log the prefix task id since its more user readable
12 months ago
Aayush
5158225acc
normalize dockerfile paths
12 months ago
Aayush Shah
cb07435230
include e2e builder launch time the `complete` request payload ( #9 )
12 months ago
Aayush
828fa88525
plumb task id through to abandon call
1 year ago
Aayush
2b966d15c9
log abandonment url
1 year ago
Aayush
b15cec1fbd
improve error logs
1 year ago
Aayush
f261a983fd
misc cleanup
1 year ago
Aayush
bd6be25457
retry ephemeral anvil errors
1 year ago
Aayush
242068ab54
additional logging
1 year ago
Aayush
2d18077219
log the submitted build task id
1 year ago
Aayush Shah
30b096e0c1
fix typo ( #8 )
1 year ago
Aayush Shah
294f759b05
add a `fallback` input ( #7 )
1 year ago
Aayush Shah
84699d113f
point to fly staging ( #6 )
1 year ago
Aayush Shah
d13597721e
npm run build ( #5 )
1 year ago
Aayush
595f5a79be
configure a local builder using the `docker-container` driver as a fallback
1 year ago
Aayush
cb250fea79
plumb through the dockerfile path when creating a build_task
1 year ago
Aditya Maru
fca077e64d
src: add logic to report differently on success and failure
1 year ago
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.
1 year ago
CrazyMax
0aba704831
chore: update generated content
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 year ago
CrazyMax
646a62b4f2
chore: update generated content
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 year ago
CrazyMax
ad3cd774a4
chore: update generated content
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 year ago
CrazyMax
7de3854c4c
chore: update generated content
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 year ago
CrazyMax
1672e74297
chore: update generated content
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 year ago
CrazyMax
ec10ae8f96
chore: update generated content
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 year ago
CrazyMax
d1fcdb6ee0
chore: update generated content
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 year ago
CrazyMax
2c95ebed5c
chore: update generated content
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 year ago
CrazyMax
94dae62c78
chore: update generated content
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 year ago
CrazyMax
ef76d100ee
chore: update generated content
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 year ago
CrazyMax
9eea548195
chore: update generated content
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 year ago
CrazyMax
e7aab408d9
chore: update generated content
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 year ago
CrazyMax
fe9d9f1d0c
chore: update generated content
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 year ago
CrazyMax
9c7c277413
chore: update generated content
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 year ago
CrazyMax
ec2d640ea6
chore: update generated content
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 year ago
CrazyMax
a3c06e8698
chore: update generated content
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 year ago
CrazyMax
49351df2b7
chore: update generated content
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 year ago
CrazyMax
57e1d34ac3
chore: update generated content
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 year ago
CrazyMax
97be5a4928
chore: update generated content
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 year ago
CrazyMax
07e1c3e148
chore: update generated content
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 year ago
CrazyMax
c0a6b9680f
chore: update generated content
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 year ago
CrazyMax
22f4433c58
chore: update generated content
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 year ago