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
Tonis Tiigi
a6baa678ea
fix building from git url without a protocol
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-09 18:40:34 -08:00
Tõnis Tiigi
8c7c5269df
Merge pull request #1884 from tonistiigi/dockerfile-docs-update
...
docs: update external dockerfile docs
2020-12-08 22:18:54 -08:00
Tonis Tiigi
9f6172c8bd
docs: update external dockerfile docs
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-08 21:26:18 -08:00
Tonis Tiigi
245e71fd8b
update Dockerfiles to 1.2
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-08 15:00:30 -08:00
Cory Bennett
9d3f55c400
move ExitError from solver/errdefs to frontend/gateway/errdefs
...
Signed-off-by: Cory Bennett <cbennett@netflix.com>
2020-12-07 01:09:59 +00:00
Tonis Tiigi
aabdec1778
handle foreign mediatypes on push
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-05 23:16:44 -08:00
Tõnis Tiigi
0af7b1b9c6
Merge pull request #1873 from crazy-max/fix-tagging
...
Fix image tagging
2020-12-05 00:37:53 -08:00
CrazyMax
8098b43022
Merge remote-tracking branch 'upstream/master' into fix-tagging
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-05 04:48:49 +01:00
CrazyMax
94899e5c91
Merge pull request #1878 from crazy-max/codecov-diff
...
Tweak codecov delta
2020-12-05 03:44:46 +01:00