b5bc754bad
docker-container: support --driver-opt cgroup-parent=...
...
This allows the parent cgroup to be customised, which allows resource
limits to be imposed on build containers separately from "user"
containers.
Signed-off-by: David Scott <dave@recoil.org >
2021-09-29 19:57:46 +01:00
dff7673afb
Merge pull request #783 from tonistiigi/override-merge
...
bake: restore previous override merge behavior
2021-09-29 08:59:54 -07:00
3e2fde5639
Merge pull request #785 from crazy-max/fix-docs
...
Fix --driver flag usage markdown output
2021-09-29 08:59:14 -07:00
7a7b73c043
bake: restore previous override merge behavior
...
For array fields, overrides are merged together
but override is not merged with the target. If merging
with target is desired we can add support for
overrides with += operator in the future.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2021-09-29 08:27:27 -07:00
e50c9ae7be
Merge pull request #784 from crazy-max/fix-e2e
...
Driver opt not used in e2e tests
2021-09-29 08:18:49 -07:00
9e62c9f074
Fix --driver flag usage markdown output
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2021-09-29 15:33:44 +02:00
c82dbafaee
Driver opt not used in e2e tests
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2021-09-29 10:42:27 +02:00
0e4d7aa7a9
bake: add test for merging overrides
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2021-09-28 23:21:07 -07:00
c05a6eb2c1
Merge pull request #781 from crazy-max/vendor-buildkit
...
vendor: update buildkit
2021-09-27 19:01:49 -07:00
eec1693f30
vendor: update buildkit
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2021-09-27 21:54:35 +02:00
c643c2ca95
Merge pull request #775 from crazy-max/vendor-buildkit
...
vendor: update buildkit
2021-09-25 18:48:36 +02:00
761e22e395
Merge pull request #774 from crazy-max/driver-e2e
...
Driver e2e tests
2021-09-23 16:49:55 -07:00
ef8c936b27
Driver e2e tests
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2021-09-23 10:49:30 +02:00
0cea838344
Merge pull request #773 from tonistiigi/bake-push-fix
...
bake: fix using push override with output definition
2021-09-21 17:53:45 -07:00
2b18a9b4a5
Merge pull request #761 from morlay/kubeconfig-enhance
...
util: support load Colon-separated KUBECONFIG
2021-09-21 16:45:55 +09:00
45e4550c36
vendor: update buildkit
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2021-09-21 07:49:45 +02:00
6fc906532b
bake: fix using push override with output definition
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2021-09-20 16:22:27 -07:00
06541ebd0f
Merge pull request #765 from thaJeztah/fix_broken_anchors
...
docs: fix some broken anchors
2021-09-15 16:00:21 -07:00
773fac9a73
docs: fix some broken anchors
...
- ./_site/engine/reference/commandline/buildx_build/index.html
* linking to internal hash #--buildkitd-flags-flags that does not exist (line 904)
<a href="/engine/reference/commandline/buildx_create/#--buildkitd-flags-flags"></a>
- ./_site/engine/reference/commandline/buildx_create/index.html
* linking to internal hash #--buildkitd-flags-flags that does not exist (line 350)
<a href="#--buildkitd-flags-flags"></a>
* linking to internal hash #--config-file that does not exist (line 336)
<a href="#--config-file"></a>
* linking to internal hash #--config-file that does not exist (line 336)
<a href="/engine/reference/commandline/buildx_build/#--load"></a>
* linking to internal hash #--load that does not exist (line 369)
<a href="/engine/reference/commandline/buildx_build/#--load"></a>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2021-09-13 17:06:18 +02:00
7f0e05dfac
Merge pull request #762 from crazy-max/remove-yaml
...
Remove generated YAML docs
2021-09-09 13:39:53 +02:00
e59aecf034
Remove YAML docs from the repo
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2021-09-09 10:29:13 +02:00
ac9a1612d2
Merge pull request #758 from crazy-max/mod-outdated
...
Mod outdated
2021-09-08 13:33:26 +02:00
c83812144c
util: support load Colon-separated KUBECONFIG
...
Signed-off-by: Morlay <morlay.null@gmail.com >
2021-09-08 17:51:56 +08:00
df521e4e96
Mod outdated
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2021-09-04 18:57:48 +02:00
00cb53d0ef
Merge pull request #746 from crazy-max/bake-workflow
...
Bake workflow
2021-09-03 14:11:54 -07:00
6cfef7fa36
Bake workflow
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2021-09-03 22:50:05 +02:00
b05c313204
Merge pull request #740 from bossmc/support-quiet
...
Implement `--quiet` support
2021-09-03 11:00:26 -07:00
3e8bbbc286
Merge pull request #757 from crazy-max/bump-clidocstool
...
Fix flags usage markdown output
2021-09-03 14:25:21 +02:00
8a12884814
Fix flags usage markdown output
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2021-09-03 11:52:49 +02:00
6cf9fa8261
Merge pull request #739 from crazy-max/go117
...
Go 1.17
2021-09-02 16:01:45 -07:00
fd94fc5fdf
Merge pull request #748 from crazy-max/platform-func
...
Built-in variable `BAKE_LOCAL_PLATFORM`
2021-09-02 16:01:26 -07:00
45c678ad26
Go 1.17
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2021-09-02 23:11:10 +02:00
55a3ce606f
Built-in variable BAKE_LOCAL_PLATFORM
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2021-09-02 23:06:05 +02:00
c1c414e4c9
Merge pull request #747 from crazy-max/yaml-docs
...
Generate YAML doc
2021-09-02 20:16:56 +02:00
610601cec0
Merge pull request #753 from tonistiigi/ci-branches
...
github: fix running ci in version branches
2021-08-28 10:08:06 -07:00
9833420a03
github: fix running ci in version branches
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2021-08-27 21:19:11 -07:00
7f322caa79
Merge pull request #751 from thaJeztah/fix_mount_path
...
container-driver: fix volume destination for cache
2021-08-27 21:02:09 -07:00
93867d02f0
container-driver: fix volume destination for cache
...
The container-driver creates a Linux container (as there currently isn't a
Windows version of buildkitd). However, the defaults are platform specific.
Buildx was using the defaults from the buildkit `util/appdefault' package,
which resulted in Buildx running on a Windows client to create a Linux
container that used the Windows location, which causes it to fail:
invalid mount config for type "volume": invalid mount path: 'C:/ProgramData/buildkitd/.buildstate' mount path must be absolute
This patch hard-codes the destination to the default Linux path.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2021-08-27 09:48:31 +02:00
b8a602821c
Generate YAML doc
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2021-08-25 19:10:03 +02:00
a8a3b1738e
Merge pull request #741 from tonistiigi/client-ctx
...
use long-running context for client initialization
2021-08-20 09:01:53 -07:00
ef3e46fd62
Move printing to stdout up to the command itself
...
Signed-off-by: Andy Caldwell <andrew.caldwell@metaswitch.com >
2021-08-20 15:13:23 +01:00
3ab0b6953a
Regenerate docs now that --quiet is unmasked
...
Signed-off-by: Andy Caldwell <andrew.caldwell@metaswitch.com >
2021-08-20 15:13:19 +01:00
c19c018a4c
Implement --quiet
support
...
Signed-off-by: Andy Caldwell <andrew.caldwell@metaswitch.com >
2021-08-20 15:13:13 +01:00
422ba60b04
use long-running context for client initialization
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2021-08-19 20:36:24 -07:00
2d3763990c
Merge pull request #731 from crazy-max/dockerfile-13
...
Update Dockerfile references to use 1.3
2021-08-18 09:05:53 -07:00
dc6ada9b50
Update Dockerfile references to use 1.3
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2021-08-17 08:41:15 +02:00
cb185f095f
Merge pull request #721 from crazy-max/compose-ext
...
bake: `x-bake` extension field with compose
2021-08-13 07:51:23 -07:00
89e126fa60
bake: x-bake
extension field with compose
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2021-08-13 09:15:15 +02:00
04bac63745
Merge pull request #692 from crazy-max/boostrap-cmd
...
Allow booting builder after creation
2021-08-12 10:35:33 -07:00
3594851128
Merge pull request #720 from crazy-max/default-group
...
bake: print default group
2021-08-12 10:31:16 -07:00