Tonis Tiigi
cbe7901667
update Go to 1.22
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-07-02 22:27:43 -07:00
Tõnis Tiigi and GitHub
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
Tõnis Tiigi and GitHub
6627f315cb
Merge pull request #2397 from dvdksn/buildx_build_canonical
...
docs: make buildx build the canonical doc
2024-07-02 09:17:01 -07:00
Tõnis Tiigi and GitHub
63eb73d9cf
Merge pull request #2560 from crazy-max/fix-localstate-remote
...
build: fix localstate for remote context and stdin
2024-06-28 16:56:53 -07:00
Tõnis Tiigi and GitHub
59a0ffcf83
Merge pull request #2546 from treuherz/multinode-annotations
...
Pass in index annotations from builds on multiple nodes
2024-06-28 16:46:20 -07:00
Tõnis Tiigi and GitHub
2b17f277a1
Merge pull request #2549 from daghack/warning-free-msg
...
Add message when --check does not produce warnings or errors
2024-06-28 16:45:57 -07:00
Tõnis Tiigi and GitHub
ea7c8e83d2
Merge pull request #2559 from tonistiigi/update-buildkit-0627
...
use csvvalue package for parsing csv inputs
2024-06-28 16:42:10 -07:00
Tõnis Tiigi and GitHub
9358c45b46
Merge pull request #2558 from tonistiigi/fix-sharedkey-for-context
...
build: fix sharedkey computation for local context
2024-06-28 16:41:30 -07:00
Tonis Tiigi
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
Tonis Tiigi
af902caeaa
vendor: update buildkit to 8397d0b9
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-06-27 20:44:07 -07:00
Tõnis Tiigi and GitHub
04000db8da
Merge pull request #2499 from thaJeztah/bump_buildkit
...
vendor: buildkit, docker/docker and docker/cli v27.0.1
2024-06-27 20:42:35 -07:00
Tonis Tiigi
b8da14166c
build: fix sharedkey computation for local context
...
When LocalDirs were changed to LocalMounts, this broke the
sharedKey computation that was based on the context directory
path. SharedKey defines if directory is valid candidate for
incremental context transfer and if not set properly then
different directories do metadata-based transfers to same destination.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-06-27 17:53:22 -07:00
Tonis Tiigi
c1f680df14
bake: print warnings on progress
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-06-27 17:31:15 -07:00
Tõnis Tiigi and GitHub
818045482e
Merge pull request #2522 from treuherz/annotation-per-type
...
Make multi-type annotation settings match docs
2024-06-26 10:07:27 -07:00
Tõnis Tiigi and GitHub
e5ded4b2de
Merge pull request #2521 from crazy-max/fix-buildinfo
...
fix assignment of buildinfo-attrs for exporter
2024-06-25 11:36:14 -07:00
Tõnis Tiigi and GitHub
6ef443de41
Merge pull request #2550 from crazy-max/provenance-mode-commands
...
build: read provenance response mode in commands pkg
2024-06-25 11:34:23 -07:00
Tõnis Tiigi and GitHub
076e19d0ce
Merge pull request #2555 from crazy-max/compose-test-cgroup
...
test: compose cgroup property
2024-06-25 11:25:59 -07:00
Tõnis Tiigi and GitHub
92aaaa8f67
Merge pull request #2524 from thaJeztah/test_engine_27.0
...
Dockerfile: update docker engine to 27.0.0-rc.2
2024-06-20 10:28:01 -07:00
Tõnis Tiigi and GitHub
6111d9a00d
Merge pull request #2531 from dvdksn/docs-xref-exportermanuals
...
docs: link to exporter descriptions from reference docs
2024-06-20 10:26:22 -07:00
Tõnis Tiigi and GitHub
310aaf1891
Merge pull request #2543 from thaJeztah/bump_testify
...
vendor: github.com/stretchr/testify v1.9.0
2024-06-20 10:25:37 -07:00
Tõnis Tiigi and GitHub
6c7e65c789
Merge pull request #2544 from thaJeztah/bump_cobra
...
vendor: github.com/spf13/cobra v1.8.1
2024-06-20 10:25:16 -07:00
Tõnis Tiigi and GitHub
9f7c8ea3fb
Merge pull request #2538 from tonistiigi/lint-fallback-v1.8.1
...
build: update lint fallback image to dockerfile 1.8.1
2024-06-18 09:51:41 -07:00
Tonis Tiigi
be12199eb9
build: update lint fallback image to dockerfile 1.8.1
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-06-18 09:33:55 -07:00
Tõnis Tiigi and GitHub
94355517c4
Merge pull request #2537 from tonistiigi/update-buildkit-v0.14.1
...
vendor: update buildkit v0.14.1
2024-06-18 09:20:28 -07:00
Tonis Tiigi
cb1be7214a
vendor: update buildkit v0.14.1
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-06-18 09:07:21 -07:00
Tõnis Tiigi and GitHub
31187735de
Merge pull request #2535 from thaJeztah/bump_credshelpers
...
vendor: github.com/docker/docker-credential-helpers v0.8.2
2024-06-17 16:39:23 -07:00
Tõnis Tiigi and GitHub
8ca18dee2d
Merge pull request #2518 from daghack/handle-build-err-during-lint-request
...
update the lint subrequest call to error
2024-06-14 19:44:13 -07:00
Tõnis Tiigi and GitHub
917d2f4a0a
Merge pull request #2523 from thaJeztah/test_engine_26.1
...
Dockerfile: update docker engine to 26.1.4
2024-06-14 19:32:47 -07:00
Tõnis Tiigi and GitHub
e423d096a6
Merge pull request #2508 from crazy-max/integration-tests-coverage
...
test: setup integration tests coverage
2024-06-13 10:10:32 -07:00
Tõnis Tiigi and GitHub
29c8107b85
Merge pull request #2514 from crazy-max/align-build-checks-tests
...
test: align build call tests
2024-06-11 13:51:46 -07:00
Tõnis Tiigi and GitHub
d3a53189f7
Merge pull request #2513 from tonistiigi/lint-fallback-1.8.0
...
build: update lint fallback image to dockerfile 1.8.0
2024-06-11 10:26:20 -07:00
Tonis Tiigi
0496dae9d5
build: update lint fallback image to dockerfile 1.8.0
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-06-11 10:12:52 -07:00
Tõnis Tiigi and GitHub
40fcf992b1
Merge pull request #2512 from tonistiigi/0611-update-buildkit
...
vendor: update buildkit to v0.14.0
2024-06-11 10:11:34 -07:00
Tonis Tiigi
85c25f719c
vendor: update buildkit to v0.14.0
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-06-11 09:56:59 -07:00
Tõnis Tiigi and GitHub
59f52c9505
Merge pull request #2507 from daghack/update-lint-metric-regex
...
Update the lint metrics to match agains the rule URL
2024-06-10 13:33:25 -07:00
Tõnis Tiigi and GitHub
39db6159f9
Merge pull request #2503 from tonistiigi/20240606-update-buildkit
...
update buildkit to v0.14.0-rc2
2024-06-06 16:30:31 -07:00
Tonis Tiigi
922328cbaf
build: update lint fallback image to v1.8.0-rc2
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-06-06 16:18:43 -07:00
Tonis Tiigi
aa0f90fdd6
vendor: update buildkit to v0.14.0-rc2
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-06-06 16:17:17 -07: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
Tõnis Tiigi and GitHub
d8de5bb345
Merge pull request #2498 from tonistiigi/0603-lint-fallback-update
...
build: update lint fallback image
2024-06-03 13:28:21 -07:00
Tonis Tiigi
eff1850d53
build: update lint fallback image
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-06-03 13:17:52 -07:00
Tõnis Tiigi and GitHub
a24043e9f1
Merge pull request #2487 from daghack/call-lint
...
Rename --print to --call and make previous name hidden
2024-06-03 12:39:43 -07:00
Tonis Tiigi
0902294e1a
ensure call aliases also work formatting parameters
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-06-03 12:09:47 -07:00
Tonis Tiigi
89810dc998
build: set default call method name to build
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-06-03 10:42:35 -07:00
Tõnis Tiigi and GitHub
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
Tõnis Tiigi and GitHub
03f84d2e83
Merge pull request #2496 from crazy-max/dial-cmd-flags
...
dial-stdio: remove extra cmd.flags()
2024-06-03 09:08:32 -07:00
Tonis Tiigi
9a30215886
tests: avoid early shutdown of sandbox
...
Because sandbox is closed down when the main test
that created the sandbox returns it can't have subtests
that set themselves as parallel as they would continue
to run in a different lifecycle.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-05-31 17:38:32 -07:00
Tõnis Tiigi and GitHub
bc83ecb538
Merge pull request #2490 from tonistiigi/lint-fallback-update
...
build: update --print fallback image to 1.8.0-rc1
2024-05-31 14:08:08 -07:00
Tonis Tiigi
ceaa4534f9
build: update --print fallback image to 1.8.0-rc1
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-05-31 13:57:56 -07:00
Tõnis Tiigi and GitHub
9b6c4103af
Merge pull request #2488 from tonistiigi/add-jonathan
...
add Jonathan to buildx maintainers
2024-05-31 10:07:21 -07:00
Tõnis Tiigi and GitHub
4549283f44
Merge pull request #2482 from rvoh-tismith/fix/single_source_create
...
Add `--prefer-index` flag for`imagetools create` on a single source
2024-05-31 09:44:43 -07:00
Tonis Tiigi
b2e907d5c2
add Jonathan to buildx maintainers
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-05-31 08:36:15 -07:00
Tõnis Tiigi and GitHub
7427adb9b0
Merge pull request #2484 from jsternberg/lint-metrics
...
metrics: record the number of times lint rules are triggered during a build
2024-05-30 15:15:03 -07:00
Tõnis Tiigi and GitHub
e3d5e64ec9
Merge pull request #2475 from thaJeztah/remove_urlutil
...
remove uses of github.com/docker/docker/builder/remotecontext package
2024-05-28 22:51:36 -07:00
Tõnis Tiigi and GitHub
2e7da01560
Merge pull request #2473 from tonistiigi/prune-negative-filter
...
prune: allow negative and prefix filters
2024-05-28 13:53:06 -07:00
Tonis Tiigi
781dcbd196
prune: allow negative and prefix filters
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-05-24 16:57:25 -07:00
Tõnis Tiigi and GitHub
37c4ff0944
Merge pull request #2467 from tonistiigi/fix-resolvednode-cache-panic
...
build: fix resolvedNode cache and panic protection
2024-05-22 07:07:36 -07:00
Tõnis Tiigi and GitHub
cc9ea87142
Merge pull request #2460 from jsternberg/vendor-update
...
vendor: update buildx to latest docker/cli
2024-05-21 09:20:09 -07: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
Tonis Tiigi
99777eaf34
build: add cache to resolvedNode
...
Currently it is possible for boot() to be called
multiple times, resulting multiple slow requests to
establish connection (eg. multiple container inspects
for container driver).
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-05-20 16:31:42 -07:00
Tonis Tiigi and Jonathan A. Sternberg
3f1aaa68d5
build: fix multiple named contexts pointing to same bake target
...
Contexts using target: schema are replaced by input: pointing
to previous build result before build request is sent. Currently
this replacement did not work if multiple contexts pointed to
the same target name.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
(cherry picked from commit f8c6a97edc )
2024-05-16 12:14:08 -05:00
Tonis Tiigi and Jonathan A. Sternberg
b77648d5f8
build: avoid default load with --print
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
(cherry picked from commit fbb0f9b424 )
2024-05-16 11:29:59 -05:00
Tõnis Tiigi and GitHub
2f98e6f3ac
Merge pull request #2444 from tonistiigi/fix-base-duplicate-target-ref
...
build: fix multiple named contexts pointing to same bake target
2024-05-13 08:48:55 -07:00
Tonis Tiigi
f8c6a97edc
build: fix multiple named contexts pointing to same bake target
...
Contexts using target: schema are replaced by input: pointing
to previous build result before build request is sent. Currently
this replacement did not work if multiple contexts pointed to
the same target name.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-05-02 18:08:45 -07:00
Tõnis Tiigi and GitHub
1d88c4b169
Merge pull request #2439 from crazy-max/ci-split-validate
...
ci(validate): split lint
2024-05-01 13:58:20 -07:00
Tõnis Tiigi and GitHub
1fb5d2a9ee
Merge pull request #2422 from crazy-max/skip-provenance-internal
...
build: don't generate metadata file when print flag is used
2024-04-29 17:12:20 -07:00
Tonis Tiigi
7ea5cffb98
make: tidy redirects to bake
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-04-25 17:08:21 -07:00
Tonis Tiigi
d0cc9ed0cb
hack: add gopls based linters
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-04-24 18:11:30 -07: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
ec98985b4e
hack: linter updates
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-04-24 17:20:27 -07:00
Tonis Tiigi
9428447cd2
lint: unusedwrite fixes
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-04-24 17:19:52 -07:00
Tonis Tiigi
6112c41637
lint: nilness fixes
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-04-24 17:19:32 -07:00
Tõnis Tiigi and GitHub
a727de7d5f
Merge pull request #2421 from tonistiigi/print-default-load
...
build: avoid default load with --print
2024-04-24 16:38:21 -07:00
Tõnis Tiigi and GitHub
4a8fcb7aa0
Merge pull request #2423 from crazy-max/test-build-print
...
test: build print
2024-04-24 16:38:03 -07:00
Tõnis Tiigi and GitHub
771e66bf7a
Merge pull request #2424 from jaihwan104/exit-1-when-manifest-merge-failed
...
fix exit code when manifest merge failed
2024-04-24 16:37:18 -07:00
Tonis Tiigi
fbb0f9b424
build: avoid default load with --print
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-04-18 18:12:39 -07:00
Tõnis Tiigi and GitHub
171fcbeb69
Merge pull request #2417 from tonistiigi/update-buildkit-240417
...
vendor: update buildkit to 71f99c52a669
2024-04-17 10:02:29 -07:00
Tonis Tiigi
370a5aa127
update lint fallback image
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-04-17 09:18:52 -07:00
Tonis Tiigi
13653fb84d
vendor: update buildkit to 71f99c52a669
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-04-17 08:21:11 -07:00
Tõnis Tiigi and GitHub
1b16594f4a
Merge pull request #2415 from igaskin/scheduler-name
...
feat: adding option to add scheduler name to kubernetes driver
2024-04-17 08:18:23 -07:00
Tõnis Tiigi and GitHub
3905e8cf06
Merge pull request #2416 from crazy-max/print-internal
...
build: mark information requests as internal
2024-04-17 08:15:55 -07:00
Tõnis Tiigi and GitHub
ac331d3569
Merge pull request #2401 from crazy-max/ci-k3s-update
...
ci: switch to reusable workflow to install k3s
2024-04-15 16:00:55 -07:00
Tõnis Tiigi and GitHub
07c9b45bae
Merge pull request #2408 from tonistiigi/print-statuscode
...
build: support statuscode response for print requests
2024-04-15 15:58:52 -07:00
Tõnis Tiigi and GitHub
b91957444b
Merge pull request #2406 from tonistiigi/print-lint-fallback
...
build: add fallback image for --print=lint
2024-04-15 15:58:34 -07:00
Tonis Tiigi
46c44c58ae
build: support statuscode response for print requests
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-04-15 10:38:54 -07:00
Tonis Tiigi
126fe653c7
build: refactor print fallbacks to own function
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-04-12 17:09:43 -07:00
Tonis Tiigi
f0cbc95eaf
build: add fallback image for --print=lint
...
Fallback to known supporting image if lint called
on old frontend.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-04-12 17:09:38 -07:00
Tõnis Tiigi and GitHub
d294232cb5
Merge pull request #2404 from tonistiigi/buildkit-vendor-lint-update
...
vendor: update buildkit v0.14-dev version 549891b
2024-04-11 08:24:21 -07:00
Tonis Tiigi
46cf94092c
commands: use vendored formatter for lint responses
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-04-11 07:52:07 -07:00
Tonis Tiigi
da3435ed3a
vendor: update buildkit v0.14-dev version 549891b
...
Brings in formatter for lint requests.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-04-11 07:49:31 -07:00
Tõnis Tiigi and GitHub
3e90cc4b84
Merge pull request #2280 from crazy-max/provenance-metadata
...
build: set record provenance in response
2024-04-11 07:31:12 -07:00
Tõnis Tiigi and GitHub
60f48059a7
Merge pull request #2394 from crazy-max/fix-stdin-controller
...
build: fix stdin handling when building with controller
2024-04-09 09:57:31 -07:00
Tõnis Tiigi and GitHub
0d6b3a9d1d
Merge pull request #2336 from crazy-max/bake-load-override
...
bake: load override
2024-04-08 16:12:22 -07:00
Tõnis Tiigi and GitHub
38fbd9a85c
Merge pull request #2377 from crazy-max/test-stdin
...
tests: build from stdin
2024-04-02 09:54:45 -07:00
Tonis Tiigi
858e347306
handle json formatting for print
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-04-01 16:46:04 -07:00
Tõnis Tiigi and GitHub
c690d460e8
Merge pull request #2362 from jsternberg/single-tracer-delegate-client
...
driver: initialize tracer delegate in driver handle instead of individual plugins
2024-03-29 11:47:41 -07:00
Tõnis Tiigi and GitHub
35781a6c78
Merge pull request #2366 from crazy-max/update-buildkit
...
vendor: github.com/moby/buildkit 25bec7145b39 (v0.14.0-dev)
2024-03-29 10:59:43 -07:00
Tõnis Tiigi and GitHub
8abef59087
Merge pull request #2344 from jsternberg/progress-metrics-non-experimental
...
progress: remove the experimental label from progress metrics
2024-03-22 09:23:39 -07:00
Tõnis Tiigi and GitHub
4af0ed5159
Merge pull request #2323 from jsternberg/build-idle-time-metric
...
metrics: measure idle time during builds
2024-03-18 15:15:29 -07:00
Tõnis Tiigi and GitHub
520dc5968a
Merge pull request #2298 from LaurentGoderre/imagetools-inspect-tests
...
Add tests for imagetools inspect
2024-03-15 13:04:06 -07:00