Akihiro Suda
e48badbfb2
Merge pull request #1934 from tonistiigi/clip-fix
...
logs: fix clipping configuration
2021-01-14 16:10:39 +09:00
Tonis Tiigi
f3e6120a6b
logs: increase default allowed log size
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-01-05 21:31:20 -08:00
Tonis Tiigi
18821ec794
logs: fix clipping configuration
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-01-05 21:30:22 -08:00
Tõnis Tiigi
08e901325b
Merge pull request #1901 from alexcb/check-for-explicit-ssh-prefix
...
Check for explicit ssh git URL
2021-01-04 13:21:24 -08:00
Alex Couture-Beil
3a5bdf0710
Move prefix check to isGitTransport
...
- rename IsSSHTransport to IsImplicitSSHTransport
- add testing for NewGitIdentifier
Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
2021-01-04 11:09:56 -08:00
Tõnis Tiigi
5efd74b6c0
Merge pull request #1924 from afbjorklund/addr-fd
...
Add support for fd:// for socket activation
2020-12-30 10:58:04 -08:00
Anders F Björklund
0028c5ed7f
Add support for fd:// for socket activation
...
Used go-systemd code from moby/moby daemon
Only added `buildkitd --addr fd://` for now.
Don't do systemd fds for windows buildkitd
Add buildkit systemd units README/examples
Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
2020-12-30 16:57:23 +01:00
Tõnis Tiigi
a34d3b929c
Merge pull request #1925 from crazy-max/fix-buildx-image-workflow
...
Fix buildx-image workflow
2020-12-28 22:12:32 -08:00
CrazyMax
bb1dcdad51
Fix buildx-image workflow
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-29 01:49:03 +01:00
Tõnis Tiigi
1c378111a7
Merge pull request #1912 from crazy-max/buildx-image
...
Dispatch workflow for buildx image
2020-12-28 16:36:57 -08:00
Tõnis Tiigi
dd7fe19951
Merge pull request #1830 from coryb/unknown-exit-status
...
move UnknownExitStatus to executor package from errdefs
2020-12-28 16:35:14 -08:00
CrazyMax
c64a76ac91
Dispatch workflow for buildx image
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-28 21:51:41 +01:00
Tõnis Tiigi
2f4c15df6f
Merge pull request #1908 from AkihiroSuda/esgz-20201218
...
bump up stargz-snapshotter
2020-12-28 12:13:46 -08:00
Tõnis Tiigi
40fcf49b20
Merge pull request #1910 from AkihiroSuda/remove-unused-comparewithparent
...
cache: remove unused CompareWithParent interface
2020-12-28 12:09:43 -08:00
Sebastiaan van Stijn
b21e79cefd
Merge pull request #1916 from tiborvass/syntax_dockerfile_1.2
...
dockerfile/docs: fix frontend image tags
2020-12-23 13:15:09 +01:00
Tibor Vass
1218e37c23
dockerfile/docs: fix frontend image tags
...
Signed-off-by: Tibor Vass <tibor@docker.com>
2020-12-20 23:24:04 +00:00
Akihiro Suda
d039647ea2
cache: remove unused CompareWithParent interface
...
CompareWithParent is not used in the current code.
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-12-18 18:03:14 +09:00
Akihiro Suda
59880bef10
bump up stargz-snapshotter
...
The git repo of github.com/containerd/stargz-snapshotter now has two go.mod modules:
- github.com/containerd/stargz-snapshotter
- github.com/containerd/stargz-snapshotter/estargz
So we need to have the following `replace` directive in `go.mod`:
```
github.com/containerd/stargz-snapshotter/estargz => github.com/containerd/stargz-snapshotter/estargz <VERSION>
```
Otherwise `go mod tidy` fails with the following error:
```
go: github.com/containerd/stargz-snapshotter@v0.2.1-0.20201217071531-2b97b583765b requires
github.com/containerd/stargz-snapshotter/estargz@v0.0.0-00010101000000-000000000000: invalid version: unknown revision 000000000000
```
ref: https://github.com/containerd/stargz-snapshotter/pull/195
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-12-18 14:59:10 +09:00
Tõnis Tiigi
b75c05157d
Merge pull request #1847 from AkihiroSuda/hack-remove-non-buildx
...
hack/util: install buildx when not installed
2020-12-16 11:57:05 -08:00
Akihiro Suda
201ba2b0e3
hack: install buildx in util
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-12-16 17:31:17 +09:00
Akihiro Suda
97b0904bcd
hack/util: disallow using DOCKER_BUILDKIT instead of buildx
...
DOCKER_BUILDKIT CLI is slightly different from buildx.
It is hard to maintain DOCKER_BUILDKIT as a buildx alternative.
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-12-16 17:28:46 +09:00
Alex Couture-Beil
0dff0fdab4
Check for explicit ssh git URL
...
- fix IsSSHTransport to also check for explicitly-defined ssh-based git repos
Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
2020-12-15 13:31:35 -08:00
Tõnis Tiigi
7880a4ea24
Merge pull request #1885 from ktock/bump-ss2
...
Bump github.com/containerd/stargz-snapshotter to v0.2.0
2020-12-15 08:36:11 -08:00
Akihiro Suda
22113880db
Merge pull request #1899 from tiborvass/dockerfile-readme-nit
...
docs: Change buildkit 0.8.0 -> 0.8.1 and an instance of dockerfile 1.2.0 to 1.2
2020-12-15 15:01:48 +09:00
Tibor Vass
40a36f455f
docs: Change buildkit 0.8.0 -> 0.8.1 and an instance of dockerfile 1.2.0 to 1.2
...
Signed-off-by: Tibor Vass <tibor@docker.com>
2020-12-15 05:34:11 +00:00
Tõnis Tiigi
8142d66b5e
Merge pull request #1898 from tonistiigi/nil-frontend-result
...
allow nil return from frontend
2020-12-14 17:55:07 -08:00
Tonis Tiigi
3889ef509c
allow nil return from frontend
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-14 17:19:41 -08:00
Tibor Vass
05fb3ac3ad
Merge pull request #1897 from tonistiigi/export-config
...
exporter: return config digest when exporting single-arch image
2020-12-14 16:08:11 -08:00
Tonis Tiigi
1098f8ee82
exporter: return config digest when exporting single-arch image
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-14 13:26:16 -08:00
Akihiro Suda
b41b9c9e1b
Merge pull request #1895 from tonistiigi/runcworker-test-debug
...
add debug for runcworker test
2020-12-14 14:42:54 +09:00
Tõnis Tiigi
50f6e618fb
Merge pull request #1883 from tonistiigi/images-readme
...
docs: add readme used for registry images
2020-12-13 21:05:55 -08:00
Tonis Tiigi
970e630f1b
add debug for runcworker test
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-13 18:44:54 -08:00
Tonis Tiigi
128b98642a
docs: add readme used for registry images
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-12 01:01:51 -08:00
Tibor Vass
07029de618
Merge pull request #1879 from tonistiigi/foreign-mediatype
...
handle foreign mediatypes on push
2020-12-11 11:48:55 -08:00
Tibor Vass
bea286f94c
Merge pull request #1871 from tonistiigi/scheduler-fix-for-testing
...
solver: fix slow-cache status tracking with preprocess
2020-12-11 11:47:45 -08:00
Tibor Vass
38696bdf1d
Merge pull request #1891 from tonistiigi/flightcontrol-cancel
...
flightcontrol: fix possible invalid cancellation
2020-12-11 02:56:01 -08:00
Tonis Tiigi
e56e7ba46b
flightcontrol: fix possible invalid cancellation
...
There was a race with context getting cancelled and new request
arriving that could resulted new request to receive cancelled result
as well. This happened because lock was held when getting the Done()
channel but it could have been already released by the time returned
channel was closed.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-11 00:57:12 -08:00
Tõnis Tiigi
bf5e780c5e
Merge pull request #1886 from tonistiigi/git-proto-fix
...
fix building from git url without a protocol
2020-12-10 23:04:15 -08:00
Tonis Tiigi
2f247f0340
solver: fix slow-cache status tracking with preprocess
...
Preprocess should not be taken into account when calculating
cache-slow state. But it should be used to detect if dep is complete
so preprocess runs before parent's exec function.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-10 22:57:30 -08:00
Tõnis Tiigi
275dd408ea
Merge pull request #1887 from tonistiigi/discard-delay
...
solver: delay before discarding job
2020-12-10 22:08:10 -08:00
Tibor Vass
fbf8ed15a8
sshutil: allow uppercase usernames (thinking of you thaJeztah)
...
Signed-off-by: Tibor Vass <tibor@docker.com>
2020-12-11 05:19:39 +00:00
Tõnis Tiigi
a3b40362ef
Merge pull request #1889 from tonistiigi/llb-fileop-fix
...
llb: make sure fileop uses the platform for current state
2020-12-10 20:40:27 -08:00
Alex Couture-Beil
201482bba9
Allow for usersnames with hyphens or underscores
...
- usernames could have - or _
- expand testing cases
Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
2020-12-10 17:10:38 -08:00
Alex Couture-Beil
3fa063dcf3
move ssh regexp test to common location
...
- include testing
- improve hostname checking
Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
2020-12-10 17:10:38 -08:00
Alex Couture-Beil
23af9dcb86
require a username for git over ssh
...
Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
2020-12-10 17:10:38 -08:00
Alex Couture-Beil
b64f992917
Allow any ssh-user while cloning from git
...
- this allows one to use a non-standard ssh username like repo@host
rather than assuming it must be git@host
Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
2020-12-10 17:10:38 -08:00
Tonis Tiigi
0e441bedca
llb: make sure fileop uses the platform for current state
...
If source root sets the platform for a state, vertexes should
keep that instead of using the global value passed on marshal.
Already worked properly for exec, but not for file.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-10 12:24:15 -08:00
ktock
ae1b79bbc6
Bump github.com/containerd/stargz-snapshotter to v0.2.0
...
This enables BuildKit to lazily pull eStargz with new footer format.
Signed-off-by: ktock <ktokunaga.mail@gmail.com>
2020-12-10 15:20:57 +09:00
Akihiro Suda
df9a515214
Merge pull request #1881 from tonistiigi/dockerfile-1.2
...
update Dockerfiles to 1.2
2020-12-10 15:08:03 +09:00
Tonis Tiigi
1b271e0014
solver: delay before discarding job
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-09 20:53:03 -08:00