Commit Graph

341 Commits (1513899c05fd43881548dfd1376ce18d79b7baa7)

Author SHA1 Message Date
Tõnis Tiigi f006bb6942 Merge pull request #85 from tonistiigi/llb-fix
llb: add missing runoptions and fixing scratch input
2017-07-24 13:46:39 -07:00
Tonis Tiigi e4b11deb3d llb: add missing runoptions and fixing scratch input
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-24 12:34:26 -07:00
Akihiro Suda 93b5a797a3 Merge pull request #84 from tonistiigi/extendable-llb
Extendable llb
2017-07-24 11:59:30 +09:00
Tonis Tiigi ce6a428195 rework llb package
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-23 16:53:09 -07:00
Tonis Tiigi 2e89d2dc72 llb: add custom types for input indexes
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-21 16:39:25 -07:00
Tõnis Tiigi f0424c367f Merge pull request #80 from tonistiigi/local-source-progress
source: add progress to local sources
2017-07-21 10:28:50 -07:00
Tonis Tiigi 09d7a2b9fa source: add progress to local sources
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-21 10:08:45 -07:00
Akihiro Suda 492c631e05 Merge pull request #79 from tonistiigi/retain-immutable-refs
solver: avoid removing references required for future cache
2017-07-21 16:47:52 +09:00
Akihiro Suda f533e5e373 Merge pull request #78 from tonistiigi/multiple-local-sources
source: add multiple dir support for local source
2017-07-21 15:34:44 +09:00
Tonis Tiigi cb168bc954 source: add multiple dir support for local source
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-20 21:17:23 -07:00
Tonis Tiigi 8b09e89dbb solver: avoid removing references required for future cache
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-20 17:05:37 -07:00
Akihiro Suda 34676f9175 Merge pull request #76 from tonistiigi/remove-unused-branches
Remove unused branches
2017-07-20 11:31:05 +09:00
Akihiro Suda 40b693c257 Merge pull request #75 from tonistiigi/local-session3
session: add incremental updates support
2017-07-20 11:26:36 +09:00
Tonis Tiigi 2ef0971822 cache: remove unused branches
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-19 19:02:58 -07:00
Tonis Tiigi 97b8395272 solver: always cache the original reference instance
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-19 11:08:49 -07:00
Tonis Tiigi e3af8f57ab examples: make buildkit3 use readonly where possible
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-18 16:07:43 -07:00
Tonis Tiigi ff951eecd9 llb: add readonly mounts support
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-18 16:07:37 -07:00
Tonis Tiigi eac79f7c7e cache: refactor reference reuse and caching
Replaces previous mutable.Freeze logic with
commits that can live together with mutable data.
Finalize method is added if the implementation
needs to make sure that the immutable ref is
flushed to the driver. Refs are automaitcally
finalized when writable layers are created on
top of them.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-18 16:01:01 -07:00
Tonis Tiigi 2e48745f57 session: remove confusing uuid variable
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-17 16:08:26 -07:00
Akihiro Suda aa2d53c879 Merge pull request #73 from tonistiigi/dot
buildctl: add dot output for visualizing llb
2017-07-18 06:39:03 +09:00
Tonis Tiigi 42bfec5028 buildctl: add dot output for visualizing llb
usage: buildctl debug dump-llb --dot | dot -Tsvg

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-17 14:24:19 -07:00
Akihiro Suda 6896b5c414 Merge pull request #71 from tonistiigi/local-session
source: add local file source fundamentals
2017-07-13 15:56:19 +09:00
Akihiro Suda 794037015b Merge pull request #72 from tonistiigi/update-contiainerd
update containerd to v1.0.0-alpha0
2017-07-13 15:25:23 +09:00
Tonis Tiigi 473619d300 examples: add buildkit3 example with local source support
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-12 23:23:25 -07:00
Tonis Tiigi 5c2e675d18 source: add local file source fundamentals
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-12 23:23:20 -07:00
Tonis Tiigi 9e9df712ec Updates for containerd alpha0
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-12 23:15:12 -07:00
Tonis Tiigi 764adcf998 vendor: update containerd to v1.0.0-alpha0
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-12 22:40:39 -07:00
Tonis Tiigi fed5c1d9ce session: copy over session package from moby/moby
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-12 22:32:44 -07:00
Akihiro Suda 405cc8d79f Merge pull request #70 from tonistiigi/no-progress
buildctl: non-interactive output support
2017-07-13 13:17:40 +09:00
Tonis Tiigi 1d68603584 buildctl: non-interactive output support
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-12 21:09:56 -07:00
Akihiro Suda cffd7029cb Merge pull request #69 from tonistiigi/profiler
util: add profiling helpers for binaries
2017-07-13 12:35:37 +09:00
Tonis Tiigi c1c3eefadc util: add profiling helpers for binaries
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-12 20:05:07 -07:00
Akihiro Suda 449e652201 Merge pull request #68 from AkihiroSuda/windows
support building on windows (no functional worker yet)
2017-07-12 15:59:48 +09:00
Akihiro Suda 6ac87fd744 support building on windows (no functional worker yet)
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-07-12 06:43:30 +00:00
Akihiro Suda 976478194e Merge pull request #67 from tonistiigi/remove-unused
remove unused code
2017-07-11 16:23:44 +09:00
Tonis Tiigi b4f8ac0cba remove unused code
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-11 00:11:45 -07:00
Akihiro Suda 10fe74cb2d Merge pull request #65 from tonistiigi/image-exporter
exporter: add basic image exporter
2017-07-11 15:47:51 +09:00
Tonis Tiigi 29d912fddf exporter: fix exporter progress reporting
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-10 23:29:21 -07:00
Tonis Tiigi 45bfdd5e42 exporter: add image exporter
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-10 23:29:14 -07:00
Tonis Tiigi d706cd52c4 vendor: update containerd
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-10 23:29:09 -07:00
Akihiro Suda 4c366ebfb7 Merge pull request #63 from tonistiigi/git-source
Add git source
2017-07-11 14:51:11 +09:00
Tonis Tiigi 0a68de4512 examples: add back older versions of buildkit
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-10 22:33:34 -07:00
Tonis Tiigi bf4e8c1610 llb: update runoptions signature
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-10 22:19:05 -07:00
Tonis Tiigi 2be8499bdc llb: add scratch support
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-10 22:19:05 -07:00
Tonis Tiigi fa7ee2e2a8 source: add keepgitdir option for git source
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-10 22:19:05 -07:00
Tonis Tiigi b65989a5e4 source: add git source
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-10 22:19:05 -07:00
Akihiro Suda 88cbbe5345 Merge pull request #66 from tonistiigi/mounts-slice
worker: change mounts map to slice
2017-07-11 14:06:27 +09:00
Tonis Tiigi bcb950915b llb: add const for root mount
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-10 21:54:38 -07:00
Tonis Tiigi 2bb4c5d487 worker: change mounts map to slice
Fixes random mount order.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-10 19:18:19 -07:00
Sebastiaan van Stijn 087e1a8f5e Merge pull request #64 from tonistiigi/pin-vndr
hack: pin to specific version of vndr
2017-07-10 13:51:09 -07:00