e04da86aca
fix golangci-lint issues
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-11-20 11:20:17 +01:00
e7a53fb829
lint: enable forbidigo context rules
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-11-19 18:27:25 -08:00
c0fd64f4f8
lint: enable linters from buildkit
...
Skipping errname and testifylint
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-11-19 17:51:24 -08:00
f89f861999
config: fix file/folder ownership
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-10-23 18:23:14 +02:00
617d59d70b
builder: do not set network.host entitlement flag if already set in buildkitd conf
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-09-11 12:27:29 +02:00
f7a32361ea
use csvvalue package for parsing csv inputs
...
This package is better suited for parsing single-line
CSV strings.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-06-27 21:31:11 -07:00
e008b846bb
driver: set network.host entitlement by default for container drivers
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-02-23 22:23:27 +01:00
56fc68eb7e
driver: make buildkitd "config" and "flags" names consistent
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-02-22 10:26:18 +01:00
ceb5bc807c
builder: move builder creation logic to builder package
...
This moves the builder creation logic to the builder package as we
plan to allow builder creation in the build ui of Docker Desktop so we
avoid drifting with the same logic in command package.
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2023-12-04 14:08:08 +01:00
20c947990c
ls: format opt
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-11-22 21:11:24 +01:00
612dfdd813
builder: return error if all nodes fail to boot
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-10-24 10:59:04 +02:00
511e41386f
driver(docker): opt to set additional dial meta to the client
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-10-17 01:01:17 +02:00
e2ebab5f26
vendor: update buildkit to master@cbfd4023383d
...
Signed-off-by: Justin Chadwell <me@jedevc.com >
2023-09-27 11:06:18 +01:00
14f5d490ef
builder: extra init error handling
...
* Return errors from creating the `NodeGroup`
* Ensure that `b.NodeGroup != nil` before reading from
it during validation
Signed-off-by: Milas Bowman <milas.bowman@docker.com >
2023-04-25 11:32:54 -04:00
2185d07f05
builder: check endpoint from store when loading factory
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-12-15 13:32:54 +01:00
ebdd8834a9
builder: fix default docker context behavior
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-12-07 08:52:12 +01:00
cc01caaecb
builder: enhance driver factory logic when loading drivers
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-12-06 12:13:41 +01:00
e7b5ee7518
mutualize builder logic
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-12-06 12:13:41 +01:00