Kohei Tokunaga
1303715aba
Allow passing ResultContext from server to the client through grpcerror
...
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2 years ago
Justin Chadwell
5c21e80a83
Merge pull request #1711 from jedevc/bake-remote-file-git
...
bake: forward default ssh agent for remote bake file
2 years ago
CrazyMax
498cc9ba0a
Merge pull request #1715 from crazy-max/ci-restrict-repo
...
ci: check repo origin on push tag event
2 years ago
CrazyMax
805f3a199d
ci: check repo origin on push tag event
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
Justin Chadwell
91fdb0423d
Merge pull request #1713 from ktock/monitor-buildapi-options
...
controller: Extract nested CommonOptions on controller API
2 years ago
Kohei Tokunaga
8ba8659496
controller: Extract nested CommonOptions on controller API
...
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2 years ago
Justin Chadwell
16e41ba297
Merge pull request #1710 from jedevc/use-buildkit-gitutil-parsegitref
...
Use buildkit's gitutil package to detect remote git files
2 years ago
Justin Chadwell
387ce5be7c
bake: forward default ssh agent for remote bake file
...
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
Justin Chadwell
87a120e8e3
bake: use build.IsRemoteURL
...
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
Justin Chadwell
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>
2 years ago
CrazyMax
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
2 years ago
Tõnis Tiigi
0844213897
Merge pull request #1707 from crazy-max/fix-ls-docs
...
docs: update ls command output sample
2 years ago
CrazyMax
989ba55d9a
docs: update ls command output sample
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
CrazyMax
33388d6ede
Merge pull request #1552 from crazy-max/moby-buildkit-version
...
driver: resolve BuildKit version for docker driver
2 years ago
dependabot[bot]
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>
2 years ago
CrazyMax
f815f4acf7
Merge pull request #1703 from jedevc/vendor-buildkit-master
...
Bump BuildKit to latest master
2 years ago
CrazyMax
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>
2 years ago
Justin Chadwell
9541457c54
vendor: update buildkit to master@8b7bcb900d3c
...
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
Justin Chadwell
c6cdcb02cf
build: replace removed buildkit BUILDINFO field
...
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
Justin Chadwell
799715ea24
Merge pull request #1701 from jedevc/fixup-resolve-paths-context-path
...
build: fixup resolvePaths for remote context path
2 years ago
Justin Chadwell
b5c6b3f10b
build: fixup resolvePaths for remote context path
...
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
Tõnis Tiigi
3f59b27cf4
Merge pull request #1698 from crazy-max/fix-issue-template
...
chore: fix issue template
2 years ago
CrazyMax
00b18558dd
chore: fix issue template
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
Tõnis Tiigi
948414e1b2
Merge pull request #1693 from jedevc/remote-tls-missing-key-cert
...
remote: avoid tls error if both key and cert are not set
2 years ago
Justin Chadwell
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>
2 years ago
Tõnis Tiigi
fd8eaab2df
Merge pull request #1675 from jedevc/source-date-epoch-fixes
...
SOURCE_DATE_EPOCH build arg injection fixes
2 years ago
CrazyMax
624bc064d8
Merge pull request #1677 from crazy-max/bump-k8s
...
vendor: bump k8s to v0.25.4
2 years ago
CrazyMax
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
2 years ago
dependabot[bot]
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>
2 years ago
Justin Chadwell
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>
2 years ago
CrazyMax
92d2dc8263
k8s: corev1.Handler has been replaced by corev1.ProbeHandler
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
CrazyMax
cfa6b4f7c8
vendor: bump k8s to v0.25.4
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
Justin Chadwell
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>
2 years ago
Tõnis Tiigi
4a73abfd64
Merge pull request #1673 from crazy-max/fix-k8s-deploy-name
...
k8s: generate node name if not provided
2 years ago
Justin Chadwell
6f722da04d
Merge pull request #1670 from jedevc/version-v-prefix
...
version: add "v" prefix to version for tagging convention consistency
2 years ago
CrazyMax
527d57540e
k8s: generate node name if not provided
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
Justin Chadwell
b65f49622e
version: add "v" prefix to version for tagging convention consistency
...
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
Tõnis Tiigi
c5ce08bf3c
Merge pull request #1626 from ktock/monitor-exec
...
monitor: Enable to exec into the container
2 years ago
Tõnis Tiigi
71b35ae42e
Merge pull request #1663 from crazy-max/stripcreds
...
build: strip credentials from remote url on collecting Git provenance info
2 years ago
CrazyMax
15eb6418e8
build: strip credentials from remote url on collecting Git provenance info
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
Justin Chadwell
2a83723d57
Merge pull request #1581 from ktock/resolvepath
...
monitor: resolve paths arguments in client
2 years ago
Kohei Tokunaga
e8f55a3cf7
monitor: Enable to exec into the container
...
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2 years ago
Justin Chadwell
b5ea989eee
monitor: resolve oci layout path in client
...
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
Kohei Tokunaga
17105bfc50
monitor: resolve paths arguments in client
...
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2 years ago
CrazyMax
eefe27ff42
Merge pull request #1658 from crazy-max/remove-guides
...
docs: guides moved to docs website
2 years ago
CrazyMax
1ea71e358a
docs: guides moved to docs website
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
Tõnis Tiigi
14d8f95ec9
Merge pull request #1657 from ktock/argpath
...
controller: use os.Executable() for getting the exceutable path
2 years ago
Kohei Tokunaga
b0728c96d3
controller: use os.Executable() for getting the exceutable path
...
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2 years ago
Tõnis Tiigi
5e685c0e04
Merge pull request #1650 from crazy-max/dirty-optin
...
build: makes git dirty check opt-in
2 years ago
CrazyMax
f2ac30f431
Merge pull request #1651 from crazy-max/fix-docs-upstream
...
ci: fix docs-upstream workflow
2 years ago