Tõnis Tiigi and GitHub
60b1eda2df
Merge pull request #3220 from jsternberg/monitor-driven-build
...
monitor: move remaining controller functionality into monitor
2025-06-04 13:50:24 -07:00
Tõnis Tiigi and GitHub
bb5b5e37e8
Merge pull request #3219 from jsternberg/monitor-reload-refactor
...
monitor: refactor how reload works
2025-06-04 13:26:48 -07:00
Tõnis Tiigi and GitHub
d61853bbb3
Merge pull request #3213 from jsternberg/build-refactors
...
build: refactor some of the build functions into smaller utility functions
2025-06-03 14:43:26 -07:00
Tõnis Tiigi and GitHub
a04b7d8689
Merge pull request #3212 from thaJeztah/bump_engine
...
vendor: github.com/docker/docker, docker/cli v28.2.2
2025-05-30 10:49:29 -07:00
Tõnis Tiigi and GitHub
52bf4bf7ce
Merge pull request #3210 from thaJeztah/dockerfile_bump_docker
...
Dockerfile: update to docker v28.2.2
2025-05-30 10:49:08 -07:00
Tõnis Tiigi and GitHub
1436f93aa1
Merge pull request #3194 from thaJeztah/bump_engine
...
vendor: github.com/docker/docker, github.com/docker/cli v28.2.1
2025-05-29 16:05:26 -07:00
Tõnis Tiigi and GitHub
542bda49f2
Merge pull request #3188 from crazy-max/buildkit-0.22
...
dockerfile: update buildkit to 0.22.0
2025-05-22 15:33:45 -07:00
Tõnis Tiigi and GitHub
75f1d5e26b
Merge pull request #3199 from crazy-max/buildkit-0.22.0
...
vendor: github.com/moby/buildkit v0.22.0
2025-05-21 07:26:25 -07:00
Tõnis Tiigi and GitHub
2149f03225
Merge pull request #3184 from tonistiigi/lint-merge-conflict-fix
...
lint: fix linter after merge conflict
2025-05-13 16:52:49 -07:00
Tonis Tiigi
f41d5072fd
lint: fix linter after merge conflict
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-05-13 16:19:33 -07:00
Tõnis Tiigi and GitHub
06a1a6344a
Merge pull request #3180 from crazy-max/dockerfile-update
...
dockerfile: update docker to 28.1.1 and buildkit to 0.21.1
2025-05-13 15:09:27 -07:00
Tõnis Tiigi and GitHub
4feb05b0bf
Merge pull request #3179 from tonistiigi/ls-format-json-current
...
ls: make sure current builder is available in JSON output
2025-05-13 14:27:36 -07:00
Tõnis Tiigi and GitHub
277548e91b
Merge pull request #3152 from crazy-max/history-export-finalize
...
history: make sure build record is finalized before exporting
2025-05-13 14:20:04 -07:00
Tõnis Tiigi and GitHub
3f0aec1b3e
Merge pull request #3182 from crazy-max/go-1.24
...
update to go 1.24
2025-05-13 12:14:37 -07:00
Tonis Tiigi
a3180cbf3d
ls: make sure current builder is available in JSON output
...
While lsBuilder has a field called Current that gets lost
because the embedded struct implements custom MarshalJSON method.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-05-12 22:30:44 -07:00
Tõnis Tiigi and GitHub
c398e2a224
Merge pull request #3177 from crazy-max/docs-fix-hcl-syntax
...
docs: remove commas in bake hcl object blocks
2025-05-12 10:47:11 -07:00
Tõnis Tiigi and GitHub
865ad2b8d5
Merge pull request #3167 from rrjjvv/variable-typing
...
Allow variables to be explicitly typed (and enforced)
2025-05-12 10:45:10 -07:00
Tõnis Tiigi and GitHub
9e17bc7a4c
Merge pull request #3127 from sarahsanders-docker/docs-buildx-history
...
docs: add descriptions and examples for buildx history commands
2025-05-05 15:00:01 -07:00
Tonis Tiigi
e1e8f5c68d
docs: updated reference docs generation
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-05-05 14:32:03 -07:00
Tonis Tiigi
b00dd42037
bake: fix nil deference on empty call definition
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-05-05 11:07:54 -07:00
Tõnis Tiigi and GitHub
9a48aca461
Merge pull request #3136 from ctalledo/reworked-fix-for-moby-45458
...
Output correct image ID when using Docker with the containerd-snapshotter
2025-05-01 16:59:42 -07:00
Tõnis Tiigi and GitHub
674cfff1a4
Merge pull request #3165 from tonistiigi/fix-openbsd-ci
...
attempt openbsd fix
2025-05-01 11:29:09 -07:00
Tonis Tiigi
19a241f4ed
attempt openbsd fix
...
7.5 packages seem to be removed from main mirrors. Couldn't find
a popular 7.6/7.7 image in vagrant cloud.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-05-01 11:02:38 -07:00
Tõnis Tiigi and GitHub
7da31076ae
Merge pull request #3164 from jsternberg/controller-errdefs-proto-removal
...
controller: remove controller/errdefs protobuf files
2025-05-01 10:40:41 -07:00
Tõnis Tiigi and GitHub
6df3a09284
Merge pull request #3126 from jsternberg/controller-removal
...
controller: remove controller grpc service
2025-04-30 18:20:51 -07:00
Tõnis Tiigi and GitHub
e7be640d9b
Merge pull request #3155 from crazy-max/fix-bin-image
...
ci: fix bin-image job
2025-04-30 17:53:20 -07:00
Tõnis Tiigi and GitHub
2eaea647d8
Merge pull request #3146 from fiam/alberto/propagate-otel-trace
...
chore(dockerutil): propagate OTEL context to Docker daemon
2025-04-23 09:45:17 -07:00
Tõnis Tiigi and GitHub
9ba3f77219
Merge pull request #3143 from crazy-max/ci-fix-vagrant
...
ci: fix vagrant build
2025-04-22 12:17:29 -07:00
Tõnis Tiigi and GitHub
2799ed6dd8
Merge pull request #3142 from thaJeztah/bump_docker_28.1.1
...
vendor: github.com/docker/docker, docker/cli v28.1.1, containerd v2.0.5
2025-04-22 11:37:27 -07:00
Tonis Tiigi
19c22136b4
build: make sure defers always run in the end of the build
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-04-21 09:28:44 -07:00
Tõnis Tiigi and GitHub
bad5063577
Merge pull request #3107 from thaJeztah/bump_engine
...
vendor: github.com/docker/docker, github.com/docker/cli v28.1.0
2025-04-18 17:05:35 -07:00
Tõnis Tiigi and GitHub
1365652a74
Merge pull request #3113 from crazy-max/update-hcl
...
vendor: update hcl dependencies
2025-04-18 15:51:53 -07:00
Tõnis Tiigi and GitHub
a4f0a21468
Merge pull request #3125 from thaJeztah/dockerfile_update_engine
...
Dockerfile: update to docker v28.1.0
2025-04-18 15:51:03 -07:00
Tõnis Tiigi and GitHub
8c74109330
Merge pull request #3115 from crazy-max/buildkit-v0.21.0
...
vendor: github.com/moby/buildkit v0.21.0
2025-04-15 09:30:51 -07:00
Tonis Tiigi
2e81e301ae
bake: fix variadic_params inconsistency for user functions
...
There was inconsistency between variables used for function
definitions in HCL and JSON format. Updated JSON to match HCL,
fixed documentation and removed the unused code from userfunc
pkg (based on HCL upstream) to avoid confusion.
Theoretically we could add some temporary backwards compatibility
for the JSON format but I think it is unlikely that someone uses
JSON format for this and also defined variadic parameters.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-04-14 10:56:20 -07:00
Tõnis Tiigi and GitHub
d69301d57b
Merge pull request #3101 from crazy-max/bake-validation-fixes
...
bake: check condition and error_message are set during validation
2025-04-09 08:59:43 -07:00
Tonis Tiigi
10e3892a63
vendor: update jaeger-ui-rest to v1.68
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-04-08 10:11:54 -07:00
Tõnis Tiigi and GitHub
d80ece5bb3
Merge pull request #3091 from tonistiigi/history-filters
...
history: add filters to ls
2025-04-08 09:19:05 -07:00
Tõnis Tiigi and GitHub
1f44971fc9
Merge pull request #3097 from crazy-max/bake-esc-interpolation
...
bake: keep escaped interpolation in print output
2025-04-08 09:17:32 -07:00
Tonis Tiigi
29614f9734
avoid import to testing helpers outside of tests
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-04-08 00:38:31 -07:00
Tonis Tiigi
f1b895196c
history: add local filters for older buildkit versions
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-04-07 22:20:32 -07:00
Tonis Tiigi
900502b139
history: add filters to ls
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-04-07 21:32:43 -07:00
Tonis Tiigi
49bd7e4edc
bake: fix platforms field in compose yaml
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-04-07 14:14:40 -07:00
Tõnis Tiigi and GitHub
e0c67bfc79
Merge pull request #3078 from jsternberg/buildkit-0.20.2
...
vendor: github.com/moby/buildkit v0.20.2
2025-03-24 20:12:24 -07:00
Tõnis Tiigi and GitHub
d3aef6642c
Merge pull request #3075 from thaJeztah/bump_cobra
...
vendor: github.com/spf13/cobra v1.9.1
2025-03-24 08:46:50 -07:00
Tonis Tiigi
45dfb84361
history: add support for exporting multiple and all records
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-03-21 11:21:00 -07:00
Tonis Tiigi
13ef01196d
history: add export command
...
Allow builds to be exported into .dockerbuild bundles
that can be shared and imported into Docker Desktop.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-03-20 20:28:14 -07:00
Tõnis Tiigi and GitHub
646df6d4a0
Merge pull request #3064 from glours/bump-compose-v2.34.0
...
bump compose-go to v2.4.9
2025-03-20 20:27:32 -07:00
Tõnis Tiigi and GitHub
d46c1d8141
Merge pull request #3069 from crazy-max/golangci-lint-rm-goversion
...
don't set go version in golangci-lint config
2025-03-20 17:08:06 -07:00
Tõnis Tiigi and GitHub
18ccba0720
Merge pull request #3068 from crazy-max/GHSA-m4gq-fm9h-8q75
...
cherry-picks for CVE-2025-0495
2025-03-17 11:37:50 -07:00
Tonis Tiigi and CrazyMax
ef99381eab
otel: avoid tracing raw os arguments
...
User might pass a value that they don't expect to
be kept in trace storage. For example some cache backends
allow passing authentication tokens with a flag.
Instead use known primary config values as attributes
of the root span.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-03-17 18:14:52 +01:00
Tõnis Tiigi and GitHub
97f1d47464
Merge pull request #3063 from crazy-max/driver-ctn-gpu-request
...
driver: request gpu when creating container builder
2025-03-13 09:56:10 -07:00
Tõnis Tiigi and GitHub
0d708c0bc2
Merge pull request #3058 from crazy-max/buildkit-0.20.1
...
vendor: github.com/moby/buildkit v0.20.1
2025-03-11 09:30:42 -07:00
Tõnis Tiigi and GitHub
3a7523a117
Merge pull request #3057 from crazy-max/update-compose
...
vendor: update compose-go to v2.4.8
2025-03-11 09:09:46 -07:00
Tõnis Tiigi and GitHub
b88423be50
Merge pull request #3053 from tonistiigi/modernize-fixes
...
lint: apply x/tools/modernize fixes and validation
2025-03-10 18:37:51 -07:00
Tonis Tiigi
c1e2ae5636
history: generalize query loading
...
Some commands (logs/open) were still missing offset handling.
Now all commands use the same reference parsing/sort.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-03-10 15:51:03 -07:00
Tõnis Tiigi and GitHub
23afb70e40
Merge pull request #3039 from tonistiigi/history-import
...
history: add history import command
2025-03-10 10:09:36 -07: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
Tõnis Tiigi and GitHub
e19c729d3e
Merge pull request #3049 from tonistiigi/history-inspect-index
...
history: allow index based inspect of builds
2025-03-06 11:09:36 -08:00
Tonis Tiigi
058c098c8c
history: allow index based inspect of builds
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-03-05 21:33:24 -08:00
Tõnis Tiigi and GitHub
7b7dbe88b1
Merge pull request #3046 from crazy-max/buildkit-0.20.1
...
dockerfile: update buildkit to 0.20.1
2025-03-05 17:20:14 -08:00
Tonis Tiigi
cadf4a5893
history: add multi-file/stdin import
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-03-05 11:12:52 -08:00
Tonis Tiigi
963b9ca30d
history: print urls after importing builds
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-03-04 16:13:49 -08:00
Tõnis Tiigi and GitHub
e23695d50d
Merge pull request #3042 from crazy-max/ci-bump-ubuntu
...
ci: bump to ubuntu-24.04
2025-03-04 15:41:06 -08:00
Tõnis Tiigi and GitHub
9a204c44c3
Merge pull request #3031 from crazy-max/bake-set-append
...
bake: support += operator to append with overrides
2025-03-04 09:33:57 -08:00
Tonis Tiigi
fea7459880
history: add history import command
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-03-03 22:52:05 -08:00
Tõnis Tiigi and GitHub
e2d52a8465
Merge pull request #2901 from crazy-max/netbsd
...
build and test netbsd
2025-03-03 16:43:02 -08:00
Tõnis Tiigi and GitHub
48a591b1e1
Merge pull request #3032 from crazy-max/bake-secrets-dupes
...
correctly remove duplicated secrets and ssh keys
2025-03-03 16:40:14 -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
Tonis Tiigi
ccdf63c644
imagetools: avoid multiple tag pushes on create
...
Ensure only the final manifest is pushed by tag and intermediate
blobs are only pushed by digest to avoid tag temorarily pointing to
wrong image.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-02-24 16:48:15 -08:00
Tonis Tiigi
6272ae1afa
remove accidental debug
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-02-20 15:41:13 -08:00
Tonis Tiigi
79a978484d
progress: fix race on pausing progress on debug shell
...
Current progress writer has a logic of pausing/unpausing
the printer and internally recreating internal channels.
This conflicts with a change that added sync.Once to Wait
to allow it being called multiple times without erroring.
In debug shell this could mean that new progress printer
showed up in debug shell because it was not closed.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-02-17 21:02:49 -08:00
Tõnis Tiigi and CrazyMax
0c296fe857
support for device entitlement in build and bake
...
Allow access to CDI Devices in Buildkit v0.20.0+ for
devices that are not automatically allowed to be used by
everyone in BuildKit configuration.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2025-02-14 11:51:47 +01:00
Tõnis Tiigi and GitHub
ef73c64d2c
Merge pull request #2993 from tonistiigi/update-buildkit-v0.20.0-rc2
...
vendor: update buildkit to v0.20.0-rc2
2025-02-13 17:15:50 -08:00
Tonis Tiigi
1784f84561
vendor: update buildkit to v0.20.0-rc2
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-02-13 16:54:50 -08:00
Tõnis Tiigi and GitHub
6a6fa4f422
Merge pull request #2986 from tonistiigi/remove-x-slices
...
remove import of x/exp
2025-02-13 10:16:48 -08:00
Tõnis Tiigi and GitHub
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
Tonis Tiigi
79e3f12305
remove import of x/exp
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-02-11 19:23:36 -08:00
Tõnis Tiigi and GitHub
1dc5f0751b
Merge pull request #2983 from tonistiigi/update-buildkit-v0.20.0-rc1
...
vendor: update buildkit to v0.20.0-rc1
2025-02-11 16:20:02 -08:00
Tonis Tiigi
7ba4da0800
gha: send v2 url as url_v2
...
Some repositories already have v2 enabled and that
causes errors avainst older BuildKit. To avoid that we
need to send both URLs as separate keys.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-02-11 15:49:29 -08:00
Tonis Tiigi
a64e628774
.github: test github runtime envs
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-02-11 15:41:15 -08:00
Tonis Tiigi
1c4b1a376c
show CDI devices in builder inspection
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-02-11 14:52:33 -08:00
Tonis Tiigi
e1f690abfc
allow passing github cache v2 urls from env
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-02-11 14:52:33 -08:00
Tonis Tiigi
03569c2188
vendor: update buildkit to v0.20.0-rc1
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-02-11 14:52:19 -08:00
Tõnis Tiigi and GitHub
350d3f0f4b
Merge pull request #2904 from tonistiigi/history-command-trace
...
Add history trace command
2025-02-11 12:40:10 -08:00
Tonis Tiigi
1089ff7341
history: add comparison support to trace
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-02-11 11:40:04 -08:00
Tonis Tiigi
7433d37183
history: add loadTrace function and support for loading Nth trace
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-02-11 11:40:04 -08:00
Tonis Tiigi
f9a76355b5
history: add UI view to traces
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-02-11 11:40:01 -08:00
Tonis Tiigi
cfeea34b2d
add history trace command
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-02-11 11:38:23 -08:00
Tõnis Tiigi and GitHub
ba2d3692a6
Merge pull request #2982 from crazy-max/revert-docker-28-vendor
...
Revert "vendor: docker, docker/cli v28.0.0-rc.1"
2025-02-11 11:37:32 -08:00
Tõnis Tiigi and GitHub
853b593a4d
Merge pull request #2981 from crazy-max/hack-mount-docker-cfg
...
hack: mount docker config on gha
2025-02-11 10:36:45 -08:00
Tonis Tiigi
f11496448a
vendor: update buildkit to 0e3037c0182e
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-02-10 16:48:59 -08:00
Tõnis Tiigi and GitHub
c8c9c72ca6
Merge pull request #2964 from crazy-max/history-inspect-json
...
history: inspect json and go template format
2025-02-10 16:30:42 -08:00
Tõnis Tiigi and GitHub
9fe8139022
Merge pull request #2976 from crazy-max/ci-fix-vagrant
...
ci: install latest vagrant
2025-02-10 16:16:15 -08:00
Tõnis Tiigi and GitHub
b8e9c28315
Merge pull request #2970 from crazy-max/fix-ls-json
...
ls: fix duplicated builders for json format
2025-02-10 09:28:17 -08:00
Tõnis Tiigi and GitHub
d557da1935
Merge pull request #2957 from ndeloof/prompt-rawjson
...
don't warn user about missing --allows when running with progress=rawjson
2025-02-07 16:34:10 -08:00
Tõnis Tiigi and GitHub
4b90b84995
Merge pull request #2965 from jsternberg/handle-unknown-values
...
buildflags: handle unknown values from cty
2025-02-06 10:06:49 -08:00
Tonis Tiigi and CrazyMax
9d640f0e33
history: add formatting support to inspect
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-02-06 10:45:27 +01:00
Tõnis Tiigi and GitHub
934841f329
Merge pull request #2958 from crazy-max/fix-debug-invoke
...
debug: fix invoke on error
2025-01-31 10:17:08 -08:00
Tõnis Tiigi and GitHub
a11507344a
Merge pull request #2932 from crazy-max/buildkit-0.19.0
...
vendor: update buildkit to v0.19.0
2025-01-22 12:57:37 -08:00