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
8ad30d0a35
docs: update since buildinfo removal
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-03-15 17:00:54 +01: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
5d4223e4f8
build: move SOURCE_DATE_EPOCH parsing into option generation
...
This allows the build package code to become more generic, and also
ensures that when the environment variables are not propogated (in the
case of the remote controller), that we can still correctly set
SOURCE_DATE_EPOCH.
Signed-off-by: Justin Chadwell <me@jedevc.com >
2023-03-14 10:21:32 +00:00
4a73abfd64
Merge pull request #1673 from crazy-max/fix-k8s-deploy-name
...
k8s: generate node name if not provided
2023-03-13 17:20:51 -07:00
6f722da04d
Merge pull request #1670 from jedevc/version-v-prefix
...
version: add "v" prefix to version for tagging convention consistency
2023-03-13 08:00:46 +00:00
527d57540e
k8s: generate node name if not provided
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-03-11 21:22:10 +01:00
b65f49622e
version: add "v" prefix to version for tagging convention consistency
...
Signed-off-by: Justin Chadwell <me@jedevc.com >
2023-03-08 16:25:00 +00:00
c5ce08bf3c
Merge pull request #1626 from ktock/monitor-exec
...
monitor: Enable to exec into the container
2023-03-07 17:46:22 +00:00
71b35ae42e
Merge pull request #1663 from crazy-max/stripcreds
...
build: strip credentials from remote url on collecting Git provenance info
2023-03-06 16:26:09 +00:00
15eb6418e8
build: strip credentials from remote url on collecting Git provenance info
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-03-06 17:00:05 +01:00
2a83723d57
Merge pull request #1581 from ktock/resolvepath
...
monitor: resolve paths arguments in client
2023-03-02 11:09:34 +00:00
e8f55a3cf7
monitor: Enable to exec into the container
...
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com >
2023-03-02 19:30:29 +09:00
b5ea989eee
monitor: resolve oci layout path in client
...
Signed-off-by: Justin Chadwell <me@jedevc.com >
2023-03-02 10:28:56 +00:00
17105bfc50
monitor: resolve paths arguments in client
...
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com >
2023-03-02 19:13:45 +09:00
eefe27ff42
Merge pull request #1658 from crazy-max/remove-guides
...
docs: guides moved to docs website
2023-03-01 10:40:12 +01:00
1ea71e358a
docs: guides moved to docs website
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-03-01 10:21:02 +01:00
14d8f95ec9
Merge pull request #1657 from ktock/argpath
...
controller: use os.Executable() for getting the exceutable path
2023-03-01 00:12:36 -08:00
b0728c96d3
controller: use os.Executable() for getting the exceutable path
...
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com >
2023-03-01 15:49:07 +09:00
5e685c0e04
Merge pull request #1650 from crazy-max/dirty-optin
...
build: makes git dirty check opt-in
2023-02-28 10:49:17 -08:00
f2ac30f431
Merge pull request #1651 from crazy-max/fix-docs-upstream
...
ci: fix docs-upstream workflow
2023-02-24 15:43:32 +01:00
6808c0e585
ci: update docs-upstream workflow
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-02-24 15:13:10 +01:00
9de12bb9c8
docs: do not generate ref for internal serve command
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-02-24 15:12:15 +01:00
0645acfd79
build: makes git dirty check opt-in
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-02-24 13:19:33 +01:00
439d58ddbd
Merge pull request #1037 from crazy-max/bug-template
...
chore: github issue template
2023-02-24 13:06:55 +01:00
c0a9274d64
chore: github issue template
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-02-24 12:33:24 +01:00
f3a4cd5176
Merge pull request #1614 from jedevc/typed-controller-api
...
controller: strongly type the controller api
2023-02-24 09:44:45 +00:00
c2e11196dd
controller: handle attestation options across api
...
We can perform all attestation processing, handling how the sbom and
provenance arguments interact on the client, while applying defaults on
the server.
Additionally, this allows us to start pulling fields out of CommonOpts.
Signed-off-by: Justin Chadwell <me@jedevc.com >
2023-02-23 15:46:37 +00:00