Commit Graph

854 Commits (bbfdaa416196b6d0d48cd547590696405f6ad3fa)
 

Author SHA1 Message Date
CrazyMax 36a37a624e
refactor: flags lexical order
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
CrazyMax e150d7bdd8
add long description to root command
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Tõnis Tiigi be2c8f71fe
Merge pull request from cpuguy83/mark_spans_as_error
Mark span status as error when fatal error occurs.
Akihiro Suda 89f5c1ce51
Merge pull request from tonistiigi/http-hijack-session
docker: dial session directly with http hijack
Brian Goff b6474d43a9 Mark span status as error when fatal error occurs.
Before this only recorded errors instead of setting the span status,
which makes it harder to dig through.
Now an error that bubbles is reflected in the span status.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Tonis Tiigi 2644d56a6d docker: dial session directly with http hijack
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
CrazyMax 084b6c0a95
Merge pull request from crazy-max/shmsize
build: add shm-size support
CrazyMax 8e5595b7c7
build: add shm-size support
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
CrazyMax 22500c9929
vendor: update buildkit
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Tõnis Tiigi 050f4f9219
Merge pull request from crazy-max/bump-go
update go to 1.17.2
CrazyMax 1a56de8e68
update go to 1.17.2
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Tõnis Tiigi 868610e0e9
Merge pull request from crazy-max/ulimit
build: add ulimit support
CrazyMax b89e2f35df
build: add ulimit support
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
CrazyMax 1b3068df7c
vendor: update buildkit
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Tõnis Tiigi 461369748c
Merge pull request from djs55/cgroup-parent
docker-container: place build containers in a separate cgroup
David Scott d5908cdddf docker-container: use /docker/buildx cgroup by default
This allows resource limits to be applied to all builds on a host.
For example to limit the total amount of CPU used by builds:

https://medium.com/@asishrs/docker-limit-resource-utilization-using-cgroup-parent-72a646651f9d

Signed-off-by: David Scott <dave@recoil.org>
David Scott 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>
Tõnis Tiigi dff7673afb
Merge pull request from tonistiigi/override-merge
bake: restore previous override merge behavior
Tõnis Tiigi 3e2fde5639
Merge pull request from crazy-max/fix-docs
Fix --driver flag usage markdown output
Tonis Tiigi 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>
Tõnis Tiigi e50c9ae7be
Merge pull request from crazy-max/fix-e2e
Driver opt not used in e2e tests
CrazyMax 9e62c9f074
Fix --driver flag usage markdown output
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
CrazyMax c82dbafaee
Driver opt not used in e2e tests
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Tonis Tiigi 0e4d7aa7a9 bake: add test for merging overrides
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Tõnis Tiigi c05a6eb2c1
Merge pull request from crazy-max/vendor-buildkit
vendor: update buildkit
CrazyMax eec1693f30
vendor: update buildkit
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
CrazyMax c643c2ca95
Merge pull request from crazy-max/vendor-buildkit
vendor: update buildkit
Tõnis Tiigi 761e22e395
Merge pull request from crazy-max/driver-e2e
Driver e2e tests
CrazyMax ef8c936b27
Driver e2e tests
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Tõnis Tiigi 0cea838344
Merge pull request from tonistiigi/bake-push-fix
bake: fix using push override with output definition
Akihiro Suda 2b18a9b4a5
Merge pull request from morlay/kubeconfig-enhance
util: support load Colon-separated KUBECONFIG
CrazyMax 45e4550c36
vendor: update buildkit
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Tonis Tiigi 6fc906532b bake: fix using push override with output definition
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Tõnis Tiigi 06541ebd0f
Merge pull request from thaJeztah/fix_broken_anchors
docs: fix some broken anchors
Sebastiaan van Stijn 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>
CrazyMax 7f0e05dfac
Merge pull request from crazy-max/remove-yaml
Remove generated YAML docs
CrazyMax e59aecf034
Remove YAML docs from the repo
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
CrazyMax ac9a1612d2
Merge pull request from crazy-max/mod-outdated
Mod outdated
Morlay c83812144c util: support load Colon-separated KUBECONFIG
Signed-off-by: Morlay <morlay.null@gmail.com>
CrazyMax df521e4e96
Mod outdated
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Tõnis Tiigi 00cb53d0ef
Merge pull request from crazy-max/bake-workflow
Bake workflow
CrazyMax 6cfef7fa36
Bake workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Tõnis Tiigi b05c313204
Merge pull request from bossmc/support-quiet
Implement `--quiet` support
CrazyMax 3e8bbbc286
Merge pull request from crazy-max/bump-clidocstool
Fix flags usage markdown output
CrazyMax 8a12884814
Fix flags usage markdown output
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Tõnis Tiigi 6cf9fa8261
Merge pull request from crazy-max/go117
Go 1.17
Tõnis Tiigi fd94fc5fdf
Merge pull request from crazy-max/platform-func
Built-in variable `BAKE_LOCAL_PLATFORM`
CrazyMax 45c678ad26
Go 1.17
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
CrazyMax 55a3ce606f
Built-in variable `BAKE_LOCAL_PLATFORM`
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
CrazyMax c1c414e4c9
Merge pull request from crazy-max/yaml-docs
Generate YAML doc