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
Tõnis Tiigi and GitHub
17af006857
Merge pull request #2944 from jsternberg/cache-ref-only-format-fix
...
buildflags: fix ref only format for command line and bake
2025-01-22 12:57:02 -08:00
Tõnis Tiigi and GitHub
cc4a291f6a
Merge pull request #2941 from crazy-max/ci-fix-docs-upstream
...
ci: use main branch for docs upstream validation workflow
2025-01-22 10:36:56 -08:00
Tõnis Tiigi and GitHub
b2bbb337e4
Merge pull request #2835 from dvdksn/bake-v019-entitlements
...
docs: bake v0.19 entitlements
2025-01-22 09:48:38 -08:00
Tõnis Tiigi and GitHub
c1d3955fbe
Merge pull request #2928 from tonistiigi/update-buildkit-v0.19.0-rc3
...
vendor: update buildkit to v0.19.0-rc3
2025-01-17 12:53:50 -08:00
Tonis Tiigi
d0b63e60e2
vendor: update buildkit to v0.19.0-rc3
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-01-17 12:09:08 -08:00
Tõnis Tiigi and GitHub
e141c8fa71
Merge pull request #2923 from crazy-max/docs-bake-overrides
...
chore: comments to not forget to update docs
2025-01-17 10:45:44 -08:00
Tõnis Tiigi and GitHub
2ee156236b
Merge pull request #2925 from tonistiigi/history-inspect-error
...
history: add error details to history inspect command
2025-01-17 10:23:59 -08:00
Tonis Tiigi
1335264c9d
history: update formatting of error logs
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-01-17 08:54:38 -08:00
Tonis Tiigi
8c27b5c545
history: make sure started time is shown in current timezone
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-01-16 21:12:37 -08:00
Tonis Tiigi
f7594d484b
history: fix printing desktop URL
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-01-16 21:12:37 -08:00
Tonis Tiigi
f118749cdc
history: add error details to history inspect command
...
For failed builds, show the source with error location and last
logs for vertex that caused the error. When debug mode is on,
stacktrace is printed.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-01-16 21:12:17 -08:00
Tõnis Tiigi and GitHub
a18ff4d5ef
Merge pull request #2891 from tonistiigi/history-command-initial
...
Add buildx history command
2025-01-15 08:51:23 -08:00
Tonis Tiigi and CrazyMax
6220e0aae8
add history inspect attachment command
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-01-15 16:17:21 +01:00
Tonis Tiigi and CrazyMax
d9abc78e8f
update history inspect formatting
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-01-15 16:17:21 +01:00
Tonis Tiigi and CrazyMax
3313026961
add buildx history inspect formatting
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-01-15 16:17:20 +01:00
Tonis Tiigi and CrazyMax
06912aa24c
Add buildx history command
...
These commands allow working with build records
of completed and running builds.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-01-15 16:17:20 +01:00
Tonis Tiigi
44fa243d58
vendor: update buildkit to v0.19.0-rc1
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-01-14 14:24:38 -08:00
Tõnis Tiigi and GitHub
630066bfc5
Merge pull request #2905 from crazy-max/bake-infer-auth-token
...
bake: infer git auth token from remote files to build request
2025-01-14 09:12:53 -08:00
Tõnis Tiigi and GitHub
026ac2313c
Merge pull request #2910 from crazy-max/update-testify
...
vendor: github.com/stretchr/testify v1.10.0
2025-01-14 08:10:55 -08:00
Tõnis Tiigi and GitHub
1eb167a767
Merge pull request #2908 from crazy-max/update-pty
...
vendor: github.com/creack/pty v1.1.24
2025-01-13 23:27:23 -08:00
Tõnis Tiigi and GitHub
45d2ec69f1
Merge pull request #2911 from crazy-max/update-hcl
...
vendor: update hcl dependencies
2025-01-13 10:30:04 -08:00
Tõnis Tiigi and GitHub
793ec7f3b2
Merge pull request #2866 from crazy-max/ci-e2e-bake
...
ci: e2e bake
2025-01-13 10:22:30 -08:00