Erik Sipsma
55cbd19dec
Add support for lazily-pulled blobs in cache manager.
...
This allows the layers of images to only be pulled if/once they are actually
required.
Signed-off-by: Erik Sipsma <erik@sipsma.dev >
2020-08-05 17:18:43 -07:00
Tonis Tiigi
c8190b1518
lint: enable golint
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2020-07-19 09:28:24 -07:00
Tonis Tiigi
2e9987ad16
session: track sessions with a group construct
...
Avoid hidden session passing and allow one session to drop when
multiple builds share a vertex.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2020-07-05 00:15:25 -07:00
Robert Estelle
6ff0868457
http: Response refers to requested ETag on 304, not 200
...
Otherwise a 200 response without an ETag could be incorrectly associated
to previous content in the following scenario:
* The remote server had in the past responded with an ETag for this
resource, which was cached.
- (Otherwise, onlyETag would be empty)
* That was the only ETag cached for this resource.
- (Otherwise, onlyETag would be empty)
* The remote server then stopped supporting ETag/If-None-Match for this
resource at all.
- (Otherwise, it would respond with a 304 or a 200+ETag)
Signed-off-by: Robert Estelle <robertestelle@gmail.com >
2019-09-04 20:25:53 -04:00
Robert Estelle
c63c6f9683
http: Handle missing but unambiguous ETags in response
...
If a single ETag is requested in `If-None-Match`, some servers do not
include that (unambiguous) ETag header in the response.
For detailed description, see:
https://github.com/moby/buildkit/issues/905#issuecomment-528058142
Signed-off-by: Robert Estelle <robertestelle@gmail.com >
2019-09-04 18:10:56 -04:00
Tonis Tiigi
e4cb7b17f1
http: allow uploads from session
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2019-04-15 23:20:31 -07:00
Tonis Tiigi
9b9ff6e4b5
revert userns mapping functions
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2019-04-02 18:26:06 -07:00
Tonis Tiigi
9f53ea3d78
userns support for sources and executor
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2019-04-02 18:26:04 -07:00
Tonis Tiigi
ab5d49435b
http: add better support for misconfigured servers
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2019-02-28 11:26:50 -08:00
Akihiro Suda
26010a4864
decouple SessionManager from Worker
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp >
2019-02-23 22:55:17 +09:00
John Howard
2de2c04c8e
Revendoring to move boltdb to bbolt
...
Signed-off-by: John Howard <jhoward@microsoft.com >
2018-09-18 11:18:08 -07:00
Tonis Tiigi
6ce604740f
vendor: replace locker pkg for legal
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2018-06-08 11:00:37 -07:00
Tonis Tiigi
03d9b00d9c
http: include modtime in cache hash
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2018-05-22 22:24:30 -07:00
Tonis Tiigi
179366acc7
http: allow setting transport from options
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2018-05-17 16:11:48 -07:00
Tonis Tiigi
9c044db670
llbsolver: update pull for multiple cache keys
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2018-05-14 09:53:34 -07:00
Tonis Tiigi
6e40e83d35
Remove net/context dependencies
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2018-01-17 09:11:22 -08:00
Tonis Tiigi
29b72a3912
solver: add some trace points
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2018-01-08 18:03:12 -08:00
Tonis Tiigi
e0af9d1218
source: add more properties to http source
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2017-12-04 12:00:46 -08:00
Tonis Tiigi
c9f45dbc22
add unit tests for http source
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2017-12-02 19:52:15 -08:00
Tonis Tiigi
59628fb20f
add http source
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2017-12-02 19:52:15 -08:00