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
fd251d2a7b
builder: use variadic options in LoadNodes func
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-10-17 00:45:50 +02:00
197824c6f2
builder: set node worker ids
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-09-30 07:10:02 +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
4384947be1
k8s: fix missing kubeconfig check from endpoint
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-07-15 21:51:56 +02:00
1138789f20
avoid extra client for history API detection
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2023-06-12 17:39:09 -07:00
a6b0959276
Merge pull request #1440 from crazy-max/gc-policies
...
builder: add worker gc policies and labels
2023-05-22 11:46:46 +02:00
e14e0521cf
Merge pull request #1732 from milas/builder-init-panic
...
builder: extra init error handling
2023-04-26 09:23:01 +02: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
200058b505
build: support for saving local state by build ref
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2023-04-12 21:37:03 -07:00
9753f63f57
builder: add worker gc policies and labels
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-02-11 22:56:15 +01:00
49b3c0dba5
build: fix preferred platform not taken account
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-01-27 20:02:13 +01: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