Tonis Tiigi
9f721e3190
kubernetes: add env driver opt to kubernetes
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2025-08-18 18:11:53 +03:00
Tõnis Tiigi
10605b8c35
Merge pull request #3320 from crazy-max/mount-wsl-lib
...
driver: mount wsl lib folder for docker-container driver
2025-08-13 15:42:38 +03:00
CrazyMax
ed67ab795b
driver: mount wsl lib folder for docker-container driver
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-07-21 16:47:20 +02:00
Sebastiaan van Stijn
3f725bf4d8
driver/kubernetes: remove uses of pkg/homedir
...
Create a local fork to keep the existing behavior.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-07-21 14:46:45 +02:00
Sebastiaan van Stijn
fd87647da1
use "#nosec" instead of "nolint:gosec" to be more specific
...
The `#nosec` comment allows ignoring a specific rule; this prevents
potentially other "gosec" linting failulres from being silently ignored.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-07-03 13:31:06 +02:00
Samuel Archambault
d5f914a263
driver kubernetes: allow to work in a Memory mount to speed up things
...
Signed-off-by: Samuel Archambault <samuel.archambault@getmaintainx.com>
2025-06-18 14:49:54 -04:00
Sebastiaan van Stijn
bc620fcc71
vendor: github.com/docker/docker v28.2.1
...
full diff: https://github.com/docker/docker/compare/v28.1.1...v28.2.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-05-29 09:34:27 +02:00
CrazyMax
1383aa30c1
lint: modernize fix
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-05-13 20:44:57 +02:00
CrazyMax
b606e2f6bb
update golangci-lint to v2.1.5
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-05-13 16:54:43 +02:00
Sebastiaan van Stijn
fa0c3e3786
migrate to github.com/moby/go-archive module
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-04-10 09:16:43 +02:00
co63oc
7659798f80
Fix typos
...
Signed-off-by: co63oc <co63oc@users.noreply.github.com>
2025-04-07 14:01:52 +08:00
CrazyMax
337578242d
driver: request gpu when creating container builder
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-03-13 17:36:37 +01:00
Tonis Tiigi
d5d3d3d502
lint: apply x/tools/modernize fixes
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2025-03-07 16:37:24 -08:00
co63oc
7925a96726
Fix
...
Signed-off-by: co63oc <co63oc@users.noreply.github.com>
2025-03-02 21:20:50 +08:00
Tonis Tiigi
4f7d145c0e
avoid double pushing with docker driver with containerd
...
In this mode buildkit can push directly so pushing manually
with docker would result in pushing image twice.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2025-02-24 16:48:57 -08:00
Sebastiaan van Stijn
b85fc5c484
vendor: github.com/docker/docker/v28.0.0-rc.1
...
full diff: https://github.com/docker/docker/compare/v27.5.1..v28.0.0-rc.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-02-13 13:53:44 +01:00
Tõnis Tiigi
2389d457a4
Merge pull request #2988 from crazy-max/ctn-driver-display-pull-error
...
docker-container: check error from response body when pulling image
2025-02-12 08:47:05 -08:00
CrazyMax
3f82aadc6e
docker-container: check error from response body when pulling image
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-02-12 12:35:27 +01:00
CrazyMax
cee7b344da
Revert "vendor: github.com/docker/docker/v28.0.0-rc.1"
...
This reverts commit b195b80ddf .
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-02-11 18:14:49 +01:00
Sebastiaan van Stijn
b195b80ddf
vendor: github.com/docker/docker/v28.0.0-rc.1
...
full diff: https://github.com/docker/docker/compare/v27.5.1..v28.0.0-rc.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-02-10 11:07:35 +01:00
Sebastiaan van Stijn
3bd54b19aa
driver/docker-container: remove uses of dockerclient.IsErrNotFound
...
It's a wrapper around errdefs.IsNotFound, which is already used, so we
can skip the wrapper.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-02-01 15:22:33 +01:00
Tonis Tiigi
d2c512a95b
lint: enable testifylint
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2024-11-20 10:53:11 -08:00
CrazyMax
e04da86aca
fix golangci-lint issues
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-11-20 11:20:17 +01:00
Tonis Tiigi
e7a53fb829
lint: enable forbidigo context rules
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2024-11-19 18:27:25 -08:00
Tonis Tiigi
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
CrazyMax
9a0c320588
Merge pull request #2606 from crazy-max/builder-move-kube-cfg
...
builder: move kube config handling to k8s driver package
2024-08-07 14:44:20 +02:00
CrazyMax
acf0216292
builder: move kube config handling to k8s driver package
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-08-07 14:01:33 +02:00
CrazyMax
4304d388ef
driver: refactor GetDriver func to take init config
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-07-16 14:34:09 +02:00
Tonis Tiigi
52bb668085
remoteutil: fix pkg remove unnecessary map initialization
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2024-07-15 16:39:58 -07:00
Tonis Tiigi
b92bfb53d2
update errors handling allocations and comparison
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2024-07-15 13:37:23 -07:00
CrazyMax
1dceb49a27
driver: allow arbitrary client opts
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-07-04 16:36:55 +02:00
Tõnis Tiigi
4be2259719
Merge pull request #2501 from tonistiigi/remote-client-cache
...
remote: ensure that client connection is not established twice
2024-07-02 09:30:32 -07:00
Sebastiaan van Stijn
9358f84668
vendor: buildkit, docker/docker and docker/cli v27.0.1
...
diffs:
- https://github.com/docker/cli/compare/v26.1.4..v27.0.1
- https://github.com/docker/docker/compare/v26.1.4..v27.0.1
- https://github.com/moby/buildkit/compare/v0.14.1...aaaf86e5470bffbb395f5c15ad4a1c152642ea30
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-06-26 15:31:47 +02:00
Tonis Tiigi
9ceda78057
remote: ensure that client connection is not established twice
...
Because remote driver implements Info() by calling
Client() internally, two instances on Client are created
backed by separate TCP connection. This hack avoids it
and improves performance.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2024-06-05 22:04:59 -07:00
CrazyMax
747b75a217
Merge pull request #2497 from crazy-max/fix-k8s-kubeconfig
...
k8s: fix concurrent kubeconfig access when loading nodes
2024-06-04 12:10:44 +02:00
Tõnis Tiigi
5afb210d43
Merge pull request #2491 from jsternberg/update-buildkit
...
vendor: update buildkit to v0.14.0-rc1
2024-06-03 10:23:26 -07:00
CrazyMax
945e774a02
k8s: fix concurrent kubeconfig access when loading nodes
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-06-03 16:16:24 +02:00
CrazyMax
f30e143428
k8s: rename timeout opt and move it out of deployment manifest
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-06-03 10:30:06 +02:00
Arnold Sobanski
53b7cbc5cb
Add parameter provisioningTimeout to Kubernetes driver options.
...
Signed-off-by: Arnold Sobanski <arnold@l4g.dev>
2024-06-03 10:08:03 +02:00
Jonathan A. Sternberg
b1cb658a31
vendor: update buildkit to v0.14.0-rc1
...
Update buildkit dependency to v0.14.0-rc1. Update the tracing
infrastructure to use the new detect API which updates how the delegated
exporter is configured.
Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
2024-05-31 16:23:41 -05:00
CrazyMax
f98ef00ec7
Merge pull request #2454 from kariya-mitsuru/fix-k8s-driver
...
Fix k8s driver with certs cannot boot
2024-05-27 12:32:38 +02:00
Tonis Tiigi
035236a5ed
driver: handle nil logger for bootstrap
...
resolveNode methods can call with nil logger. Although
the results should already be cached now in resolver
this makes the protection more explicit.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2024-05-20 16:38:01 -07:00
Sebastiaan van Stijn
946e0a5d74
driver/kubernetes/util: remove k8s.io/apiserver dependency
...
Use a simplified local implementation that follow the same semantics,
so that we don't need k8s.io/apiserver as dependency.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-05-14 13:58:56 +02:00
Mitsuru Kariya
cbb75bbfd5
Fix k8s driver with certs cannot boot
...
Signed-off-by: Mitsuru Kariya <mitsuru.kariya@nttdata.com>
2024-05-13 10:33:15 +09:00
Tonis Tiigi
b30566438b
lint: gopls fixes
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2024-04-24 17:58:17 -07:00
Tonis Tiigi
6112c41637
lint: nilness fixes
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2024-04-24 17:19:32 -07:00
Isaac Gaskin
74fdbb5e7f
feat: adding option to add scheduler name to kubernetes driver
...
this allows for custom scheduling of deployments
Signed-off-by: Isaac Gaskin <isaac.gaskin@circle.com>
2024-04-16 14:51:59 -07:00
Akihiro Suda
12e1f65eb3
Merge pull request #2370 from Moleus/feat-ephemeral-storage-opts
...
driver: add ephemeral-storage options to kuberentes-driver
2024-04-09 09:04:25 +09:00
Niklas Gehlen
ccc314a823
Implement new driver-opt: default-load
...
This eases build driver migrations, as it allows aligning the default behavior.
See also https://docs.docker.com/build/drivers/
Signed-off-by: Niklas Gehlen <niklas@namespacelabs.com>
2024-04-05 15:30:33 +02:00
Moleus
ef2e30deba
driver: add ephemeral-storage options to kuberentes-driver
...
Signed-off-by: Moleus <fafufuburr@gmail.com>
2024-04-01 13:10:44 +03:00