Ben Peachey
eaba4fa9e6
Update docs with result from `make docs` command.
...
Signed-off-by: Ben Peachey <potherca@gmail.com>
2 years ago
Ben Peachey
8f24c58f4d
Fix typo in commands/build.go and docs/reference/buildx_build.md
...
`Shortand` -> `Shorthand`
Signed-off-by: Ben Peachey <potherca@gmail.com>
2 years ago
CrazyMax
0758a9b75d
Merge pull request #1856 from crazy-max/history-feature-update
...
driver: update history api check
2 years ago
CrazyMax
f8fa526678
driver: update history api check
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
Tõnis Tiigi
4abff3ce12
Merge pull request #1852 from jedevc/vendor-buildkit-master
...
vendor: update buildkit to master@c36941f4a10e
2 years ago
CrazyMax
e7034f66bc
Merge pull request #1846 from crazy-max/history-capability
...
driver: check history capability
2 years ago
CrazyMax
8c65e4fc1d
driver: add context to Features interface
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
CrazyMax
d196ac347e
driver: cache features
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
CrazyMax
9b723ece46
driver: check history capability
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
Justin Chadwell
5e2f8bd64a
Merge pull request #1853 from jedevc/logrus-show-error
2 years ago
Justin Chadwell
5788ab33d2
logutil: print error from WithError if found
...
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
CrazyMax
f1788002e1
Merge pull request #1851 from crazy-max/test-flow
...
test: update workflow
2 years ago
Justin Chadwell
6c62225d1b
vendor: update buildkit to master@c36941f4a10e
...
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
CrazyMax
38b4eef5c6
ci: make release and bin-image depend on test
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
CrazyMax
a4db138c5e
docs: update CONTRIBUTING.md to run tests
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
CrazyMax
55377b2b0f
make: test-unit and test-integration targets
...
Also switch test target to run the test script.
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
CrazyMax
98dedd3225
ci: cache integration tests base and build in dedicated step
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
CrazyMax
74b121be66
test: opt to avoid building the integration tests image
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
CrazyMax
b9cf46785b
test: use trap to remove cache volume
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
CrazyMax
ecf8dd0a26
test: type integration not needed
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
CrazyMax
73c17ef4d2
ci: send test reports to codecov
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
CrazyMax
e762e46b4b
ci: merge test workflow to build one
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
CrazyMax
17bdbbd3c3
Merge pull request #1831 from crazy-max/fix-ctn-certs-path
...
driver(docker-container): fix incorrect path when writing certs
2 years ago
CrazyMax
63fc01e08a
Merge pull request #1842 from crazy-max/update-xx
...
update xx to 1.2.1
2 years ago
Justin Chadwell
354ccc9469
Merge pull request #1844 from tonistiigi/imageid-fixes
2 years ago
Tonis Tiigi
68ae67720a
build: fix writing correct image ID with -q
...
Container driver wrote manifest digest that had a
mismatch with --iidfile output.
When --iidfile was set the --metadata-file was not
written.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2 years ago
Tonis Tiigi
b273db20c3
remote: allow docker exporter on remote driver
...
There is no reason why one can't make a docker tarball or
load to Docker instance from remote driver.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2 years ago
CrazyMax
0ae88ecc4d
update xx to 1.2.1
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
Justin Chadwell
341fb65f6f
Merge pull request #1830 from jedevc/fix-missing-driver-in-build
2 years ago
Justin Chadwell
69a9c6609a
Merge pull request #1699 from jedevc/bake-attestation-override
2 years ago
CrazyMax
1c96fdaf03
driver(docker-container): fix incorrect path when writing certs
...
Replace invalid characters in the name of the base directory of
certificates using the name of the registry which can contain
for example a colon when the port is specified.
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
Justin Chadwell
c77bd8a578
build: fix missing "docker" driver name in build progress
...
This was missing, since the driver property can only be fully populated
after loading nodes from disk. So we add logic to load the nodes, and
check for an error, which ensures that the "docker" driver is always
correctly present in the progress description.
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
Justin Chadwell
e5f701351c
Merge pull request #1829 from jedevc/vendor-buildkit-master
2 years ago
Justin Chadwell
09798cdebd
vendor: update buildkit to master@212ab16a39b1
...
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
CrazyMax
0dfc35d558
Merge pull request #1822 from thaJeztah/vendor_engine_24.0.1
...
vendor: github.com/docker/docker and github.com/docker/cli v24.0.1
2 years ago
CrazyMax
8085f57a3a
Merge pull request #1825 from thaJeztah/remove_k8s_replace
...
go.mod: update k8s deps to v0.26.2 (remove "replace" rule)
2 years ago
Sebastiaan van Stijn
d582a21acd
go.mod: update k8s deps to v0.26.2 (remove "replace" rule)
...
Replace rules are not inherited by consumers of buildx as a module, and as
such would default to use the v0.26.2 version. Removing the replace rules
also removes various (indirect) dependencies (although brings in some new
packages from k8s itself).
The "azure" and "gcp" authentication packages in k8s.io/go-client are now
no longer functional, so removing those imports.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2 years ago
CrazyMax
580820a4de
Merge pull request #1824 from thaJeztah/k8s_remove_openstack
...
cmd/buildx: non-functional k8s.io/client-go/plugin/pkg/client/auth/openstack
2 years ago
Sebastiaan van Stijn
b7e8afc61b
cmd/buildx: non-functional k8s.io/client-go/plugin/pkg/client/auth/openstack
...
Kubernetes v1.26 removed the in-tree openstack cloud provider. While buildx
has a replace rule to pin the k8s dependencies to an older version, such
replace rules are non-transitive, which means that consumers of buildx as
a module could potentially end up with non-resolvable dependencies.
The used code was already non-functional since c41b006be1
(buildx v0.5.0-rc1);
a6b0959276/vendor/k8s.io/client-go/plugin/pkg/client/auth/openstack/openstack_stub.go (L26-L36)
See:
- 9bbf01bae9
- 98e81a7784
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2 years ago
Sebastiaan van Stijn
a8a637e19d
vendor: github.com/docker/cli v24.0.1
...
no changes in vendored files
full diff: https://github.com/docker/cli/compare/v24.0.0...v24.0.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2 years ago
Sebastiaan van Stijn
79632a4c4c
vendor: github.com/docker/docker v24.0.1
...
no changes in vendored files
full diff: https://github.com/moby/moby/compare/v24.0.0...v24.0.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2 years ago
CrazyMax
a6b0959276
Merge pull request #1440 from crazy-max/gc-policies
...
builder: add worker gc policies and labels
2 years ago
CrazyMax
6d7142b057
Merge pull request #1820 from jedevc/use-docker-distribution
...
vendor: use docker/distribution instead of distribution/distribution
2 years ago
Justin Chadwell
7e39644f69
Merge pull request #1816 from bpaquet/fix_session_token
2 years ago
Bertrand Paquet
adc6349b28
Fix AWS Authentication when mixing static creds and IAM profile
...
When the user supply static creds, we must not enrich them with a
session token which is unrelated.
Signed-off-by: Bertrand Paquet <bertrand.paquet@gmail.com>
2 years ago
Justin Chadwell
f558fd8b22
vendor: use docker/distribution instead of distribution/distribution
...
This doesn't require pulling in a new direct dependency, we already use
docker/distribution throughout imagetools and build.
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
Justin Chadwell
432e16ef70
Merge pull request #1806 from thaJeztah/update_engine2
2 years ago
Sebastiaan van Stijn
8c86c2242a
vendor: github.com/docker/cli v24.0.0
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2 years ago
Sebastiaan van Stijn
75ad5d732b
vendor: github.com/docker/docker v24.0.0
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2 years ago
Sebastiaan van Stijn
9bd0202312
vendor: github.com/spf13/cobra v1.7.0
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2 years ago