8a02cf8717
cli: set default completion
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-04-11 11:32:48 +02:00
672eeed9a6
Merge pull request #1731 from crazy-max/update-moby-ver
...
driver: update BuildKit version constraint for docker driver
2023-04-11 11:26:32 +02:00
1b816ff838
driver: update BuildKit version constraint for docker driver
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-04-11 11:10:01 +02:00
10365ddf22
Merge pull request #1723 from docker/dependabot/github_actions/peter-evans/create-pull-request-5.0.0
...
build(deps): Bump peter-evans/create-pull-request from 4.2.4 to 5.0.0
2023-04-11 09:39:17 +02:00
a28cb1491d
build(deps): Bump peter-evans/create-pull-request from 4.2.4 to 5.0.0
...
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request ) from 4.2.4 to 5.0.0.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases )
- [Commits](38e0b6e68b...5b4a9f6a9e
)
---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-05 18:59:48 +00:00
1e149bb84f
Merge pull request #1722 from jedevc/bake-matrix-check-map-type
...
bake: fix map type checking to detect matrix property set to list
2023-04-05 16:03:50 +01:00
9827abbf76
bake: fix map type checking to detect matrix property set to list
...
Signed-off-by: Justin Chadwell <me@jedevc.com >
2023-04-05 13:41:03 +01:00
a3293cdaaa
Merge pull request #1720 from jedevc/bake-replace-func
...
Add `replace` function to bake stdlib
2023-04-05 11:59:40 +01:00
f7d8bd2055
Merge pull request #1690 from jedevc/bake-matrix
...
Implement matrix for bake targets
2023-04-05 11:58:59 +01:00
5d33a3af22
bake: add replace func to stdlib
...
Signed-off-by: Justin Chadwell <me@jedevc.com >
2023-04-05 11:48:35 +01:00
87f900ce77
chore: sort bake stdlib map
...
Signed-off-by: Justin Chadwell <me@jedevc.com >
2023-04-05 11:48:35 +01:00
bb5c93cafc
Merge pull request #1719 from dvdksn/docs/update-readme-links
...
docs: prune links in README toc, add external reference
2023-04-05 11:30:29 +02:00
c6ce0964b9
docs: prune links in README toc, add external reference
...
Signed-off-by: David Karlsson <david.karlsson@docker.com >
2023-04-05 11:00:06 +02:00
5c21e80a83
Merge pull request #1711 from jedevc/bake-remote-file-git
...
bake: forward default ssh agent for remote bake file
2023-04-04 11:50:42 +01:00
498cc9ba0a
Merge pull request #1715 from crazy-max/ci-restrict-repo
...
ci: check repo origin on push tag event
2023-04-03 21:16:51 +02:00
805f3a199d
ci: check repo origin on push tag event
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-04-03 20:58:37 +02:00
91fdb0423d
Merge pull request #1713 from ktock/monitor-buildapi-options
...
controller: Extract nested CommonOptions on controller API
2023-04-03 14:48:06 +01:00
8ba8659496
controller: Extract nested CommonOptions on controller API
...
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com >
2023-04-03 21:35:04 +09:00
16e41ba297
Merge pull request #1710 from jedevc/use-buildkit-gitutil-parsegitref
...
Use buildkit's gitutil package to detect remote git files
2023-04-03 11:14:08 +01:00
387ce5be7c
bake: forward default ssh agent for remote bake file
...
Signed-off-by: Justin Chadwell <me@jedevc.com >
2023-04-03 10:50:43 +01:00
87a120e8e3
bake: use build.IsRemoteURL
...
Signed-off-by: Justin Chadwell <me@jedevc.com >
2023-04-03 10:48:31 +01:00
589d4e4cf5
build: use buildkit's gitutil package to detect remote files
...
BuildKit's gitutil package behaves slightly differently than moby's
urlutil, so we should rely on BuildKit's gitutil when detecting URLs to
avoid cases of accidentally producing invalid build requests that can
confuse users.
Signed-off-by: Justin Chadwell <me@jedevc.com >
2023-04-03 10:23:59 +01:00
6535f16aec
Merge pull request #1705 from docker/dependabot/go_modules/github.com/opencontainers/runc-1.1.5
...
build(deps): Bump github.com/opencontainers/runc from 1.1.4 to 1.1.5
2023-04-03 10:53:26 +02:00
a1520ea1b2
bake: additional validation for matrixes
...
This adds the following constraints to the new features:
- Explicit renaming with the `name` property is *only* permitted when
used with the `matrix` property.
- Group does not support either `name` or `matrix` (we may choose to
relax this constraint over time).
- All generated names must be unique.
Signed-off-by: Justin Chadwell <me@jedevc.com >
2023-04-03 09:23:28 +01:00
0844213897
Merge pull request #1707 from crazy-max/fix-ls-docs
...
docs: update ls command output sample
2023-03-30 19:33:55 -07:00
989ba55d9a
docs: update ls command output sample
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-03-30 17:54:23 +02:00
33388d6ede
Merge pull request #1552 from crazy-max/moby-buildkit-version
...
driver: resolve BuildKit version for docker driver
2023-03-30 17:31:47 +02:00
bfadbecb96
build(deps): Bump github.com/opencontainers/runc from 1.1.4 to 1.1.5
...
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc ) from 1.1.4 to 1.1.5.
- [Release notes](https://github.com/opencontainers/runc/releases )
- [Changelog](https://github.com/opencontainers/runc/blob/v1.1.5/CHANGELOG.md )
- [Commits](https://github.com/opencontainers/runc/compare/v1.1.4...v1.1.5 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-30 15:25:26 +00:00
f815f4acf7
Merge pull request #1703 from jedevc/vendor-buildkit-master
...
Bump BuildKit to latest master
2023-03-30 17:23:38 +02:00
81d7decd13
driver: resolve BuildKit version for docker driver
...
Buildx currently returns the Docker Engine version for the docker driver
and it can be confusing. This is because BuildKit before 0.11 version does
not support the Info API that returns the BuildKit version.
This change resolves the BuildKit version from the Docker engine one.
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-03-30 15:52:29 +02:00
d699d08399
bake: add additional tests for matrix behavior
...
Signed-off-by: Justin Chadwell <me@jedevc.com >
2023-03-30 10:39:38 +01:00
9541457c54
vendor: update buildkit to master@8b7bcb900d3c
...
Signed-off-by: Justin Chadwell <me@jedevc.com >
2023-03-30 10:35:49 +01:00
c6cdcb02cf
build: replace removed buildkit BUILDINFO field
...
Signed-off-by: Justin Chadwell <me@jedevc.com >
2023-03-30 10:24:46 +01:00
799715ea24
Merge pull request #1701 from jedevc/fixup-resolve-paths-context-path
...
build: fixup resolvePaths for remote context path
2023-03-29 13:59:36 +01:00
b5c6b3f10b
build: fixup resolvePaths for remote context path
...
Signed-off-by: Justin Chadwell <me@jedevc.com >
2023-03-29 10:10:20 +01:00
3f59b27cf4
Merge pull request #1698 from crazy-max/fix-issue-template
...
chore: fix issue template
2023-03-27 09:10:56 -07:00
00b18558dd
chore: fix issue template
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-03-27 13:30:33 +02:00
948414e1b2
Merge pull request #1693 from jedevc/remote-tls-missing-key-cert
...
remote: avoid tls error if both key and cert are not set
2023-03-23 10:58:12 -07:00
56876ab825
remote: avoid tls error if both key and cert are not set
...
Previously, we would explicitly error if all TLS parameters were not
available. However, it is a perfectly valid use case to connect to a
buildkit server that only provides TLS in one direction to verify the
server (which is possible today with buildctl).
To support this use case, we only need to error if only one of key or
cert is set, and the other is not - if both are unspecified, the client
will not present a certificate to the server.
Signed-off-by: Justin Chadwell <me@jedevc.com >
2023-03-23 10:43:10 +00:00
0806870261
bake: generate implicit groups for matrixes
...
Signed-off-by: Justin Chadwell <me@jedevc.com >
2023-03-22 17:07:04 +00:00
fd8eaab2df
Merge pull request #1675 from jedevc/source-date-epoch-fixes
...
SOURCE_DATE_EPOCH build arg injection fixes
2023-03-21 22:29:24 -07:00
77252f161c
bake: add matrix to target block
...
Signed-off-by: Justin Chadwell <me@jedevc.com >
2023-03-21 12:05:14 +00:00
4437802e63
bake: allow overriding name property
...
Previously, the name property could not be set in the body of a bake
target and could only be set for a label. This patch allows the body to
override the values of label fields, though the default is still the
label.
Signed-off-by: Justin Chadwell <me@jedevc.com >
2023-03-20 17:55:28 +00:00
1613fde55c
bake: allow interception to create derived contexts
...
This patch allows high level clients to define an EvalContext method
which can derive a new context given a block and the base parent
context.
This allows users of the package to intercept evaluation before it
begins, and define additional variables and functions that are bound to
a single block.
Signed-off-by: Justin Chadwell <me@jedevc.com >
2023-03-20 12:18:36 +00:00
624bc064d8
Merge pull request #1677 from crazy-max/bump-k8s
...
vendor: bump k8s to v0.25.4
2023-03-19 17:05:55 +00:00
0c4a68555e
Merge pull request #1682 from docker/dependabot/github_actions/peter-evans/create-pull-request-4.2.4
...
build(deps): Bump peter-evans/create-pull-request from 4.2.3 to 4.2.4
2023-03-16 09:50:44 +00:00
476ac18d2c
build(deps): Bump peter-evans/create-pull-request from 4.2.3 to 4.2.4
...
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request ) from 4.2.3 to 4.2.4.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases )
- [Commits](2b011faafd...38e0b6e68b
)
---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-15 19:00:53 +00:00
780531425b
bake: move SOURCE_DATE_EPOCH parsing to overrides
...
Previously, when directly modifying the args map when reading targets,
we could end up in a scenario where bake tests that compare arg maps
would fail if SOURCE_DATE_EPOCH was set in the environment.
This patch prevents this failure by setting the SOURCE_DATE_EPOCH at the
command level (which isn't injected into tests as well), ensuring that
we test correctly even when SOURCE_DATE_EPOCH is set in the environment.
Signed-off-by: Justin Chadwell <me@jedevc.com >
2023-03-15 10:06:53 +00:00
92d2dc8263
k8s: corev1.Handler has been replaced by corev1.ProbeHandler
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-03-14 18:44:13 +01:00
cfa6b4f7c8
vendor: bump k8s to v0.25.4
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-03-14 18:44:13 +01:00