Commit Graph

1787 Commits (37ae84ba1959e633fb061ca6a6fdef3865640943)

Author SHA1 Message Date
Tonis Tiigi 2be999ba52 fileop: llbsolver implementation
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-15 16:22:35 -07:00
Tonis Tiigi b2b0e3dbfa fileop: add release support and tests
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-15 16:22:35 -07:00
Tonis Tiigi 9fb1f09a1e llbsolver: fileop base
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-15 16:22:35 -07:00
Tonis Tiigi a443cfff05 fileop: resolve review comments
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-15 16:22:35 -07:00
Tonis Tiigi 89e6614b38 solver: change uid to uint
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-15 16:22:35 -07:00
Tonis Tiigi 431d11dda3 llb: add timestamp override to fileop
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-15 16:22:35 -07:00
Tonis Tiigi 5b4841f308 llb: initial fileop implementation
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-15 16:22:01 -07:00
Tonis Tiigi 23e1cd35d9 contenthash: fix hardlinks checksum on handlechange
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-15 15:47:08 -07:00
Akihiro Suda c0c9306964
Merge pull request #875 from tonistiigi/vendor-fsutil
vendor: update fsutil to 1ec198358
2019-03-15 12:54:42 +09:00
Sebastiaan van Stijn a18c3d0dd5
Merge pull request #876 from tonistiigi/fix-latest-tagging
hack: fix tagging latest images on release
2019-03-15 02:10:28 +01:00
Tõnis Tiigi a642101687
Merge pull request #873 from po3rin/rm-useless-spaces
rm useless spaces
2019-03-14 17:41:06 -07:00
Tonis Tiigi a469f28267 hack: fix tagging latest images on release
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-14 16:18:48 -07:00
Tonis Tiigi 4ac089a7b6 vendor: update fsutil to 1ec198358
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-14 15:18:50 -07:00
po3rin 31f565bc8c rm useless spaces
Signed-off-by: HiromuNakamura <abctail30@gmail.com>
2019-03-15 00:08:04 +09:00
Akihiro Suda c35410878a
Merge pull request #869 from tonistiigi/inline-uncompressed
remotecache: allow uncompressed digest in inline export
2019-03-14 12:55:16 +09:00
Tonis Tiigi d9cdaf8003 remotecache: allow uncompressed digest in inline export
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-13 19:19:59 -07:00
Tibor Vass 0515c76243
Merge pull request #868 from tonistiigi/solver-cache-fix
solver: change early input resolve strategy
2019-03-13 19:09:05 -07:00
Tonis Tiigi fbb71123a7 solver: optimize early input resolve
Detect the cases where open input keys are not possible even
when computed keys are calculated to skip to cache lookup early.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-13 15:34:18 -07:00
Tõnis Tiigi f3b968c91a
Merge pull request #865 from chendave/arm32
Don't miss the Variant for arm32 platform
2019-03-13 10:20:39 -07:00
Dave Chen 550fd00160 Don't miss the Variant for arm2 platform
The `defaultPlatform` got on the build system include the variant for arm v6, v7 etc.
This is an important information for us to find the matched platform, but this information
is missed since the code doesn't include variant when assemble the platform information.

And since "V8" variant for arm64 is normalized to an empty string, so we need to take care
of this as well.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2019-03-12 22:32:45 -07:00
Akihiro Suda 9faab2a616
Merge pull request #867 from tonistiigi/buildctl-panic
buildctl: fix panic on exporting cache
2019-03-13 11:35:59 +09:00
Tonis Tiigi b988403262 solver: fix early input resolve
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-12 17:49:54 -07:00
Tonis Tiigi f4820681ce client: fix panic on exporting cache
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-12 11:19:29 -07:00
Tõnis Tiigi bab8c7ad2d
Merge pull request #866 from chendave/fix_warning
Fix the warning for the file not end with newline
2019-03-12 08:08:05 -07:00
Dave Chen 156754dc78 Fix the warning for the file not end with newline
arm-linux-gnueabihf-as -o exit.o exit.arm.s

exit.arm.s: Assembler messages:
exit.arm.s: Warning: end of file not at end of a line; newline inserted

Signed-off-by: Dave Chen <dave.chen@arm.com>
2019-03-12 01:49:38 -07:00
Tõnis Tiigi b0212500e4
Merge pull request #864 from tonistiigi/default-platforms-fix
buildkitd: fix default platforms conf
2019-03-11 22:51:43 -07:00
Tonis Tiigi 227525ed13 buildkitd: fix default platforms conf
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-11 10:38:19 -07:00
Tõnis Tiigi 60854e4d04
Merge pull request #862 from tonistiigi/hack-detection
hack: fix buildkit detection of sh
2019-03-11 10:25:27 -07:00
Tonis Tiigi 216a54283b hack: fix buildkit detection of sh
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-10 23:48:12 -07:00
Tonis Tiigi aece2ac1aa integration: disable gc
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-10 23:45:48 -07:00
Tibor Vass 2a857a3bfa
Merge pull request #807 from AkihiroSuda/csv-frontend
buildctl: new CLI ("Option C+")
2019-03-08 11:33:54 -08:00
Akihiro Suda 5c9f7b8ff0 buildctl: new CLI ("Option C+")
See https://github.com/moby/buildkit/pull/807#issuecomment-468146089

Close #774

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2019-03-06 13:20:21 +09:00
Tibor Vass 457482ef67
Merge pull request #858 from tonistiigi/dedupe-fix
llbsolver: fix selectors dedupe
2019-03-05 18:31:46 -08:00
Tibor Vass 1b0ab44ac2
Merge pull request #856 from tonistiigi/update-fsutil
vendor: update fsutil to b4281fa67095
2019-03-05 18:04:52 -08:00
Tonis Tiigi 6d859fc9b0 llbsolver: fix selectors dedupe
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-05 17:59:13 -08:00
Tonis Tiigi 632797cef0 vendor: udpate fsutil to b4281fa
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-05 17:34:01 -08:00
Tõnis Tiigi 06809f387a
Merge pull request #845 from AkihiroSuda/buildctl-b
buildctl: add `b` as an alias for `build`
2019-03-05 13:22:50 -08:00
Tõnis Tiigi c179230f7e
Merge pull request #855 from AkihiroSuda/fix-tls-ca
Fix TLS issues
2019-03-05 13:22:29 -08:00
Akihiro Suda a08c4479d5 Fix TLS issues
* buildkitd: `--tlscacert` had been ignored
* buildctl: TLS flags had been ignored for `buildctl debug workers`

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2019-03-05 18:33:43 +09:00
Akihiro Suda 038973d423
Merge pull request #852 from tonistiigi/contenthash-symlink-parent
contenthash: fix symlink parent reference
2019-03-05 12:31:47 +09:00
Tonis Tiigi 54bd828a10 contenthash: fix symlink parent reference
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-04 18:10:40 -08:00
Akihiro Suda e814100f45
Merge pull request #850 from tonistiigi/contenthash-wildcards
contenthash: add wildcard and nofollow support
2019-03-03 20:12:03 +09:00
Tõnis Tiigi fdedf26b53
Merge pull request #847 from AkihiroSuda/make-image
Makefile: new target: images
2019-03-01 23:43:37 -08:00
Tonis Tiigi 8bcd59a546 contenthash: add nofollow support
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-01 23:41:05 -08:00
Akihiro Suda 340cb430aa Makefile: new target: images
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2019-03-02 15:42:10 +09:00
Akihiro Suda 2513fcf7d8
Merge pull request #840 from tonistiigi/qemu-detection
util: add binfmt_misc binary detection
2019-03-02 15:38:08 +09:00
Tonis Tiigi 1814a0163a contenthash: add wildcard support
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-01 17:39:34 -08:00
Tõnis Tiigi b9784aae40
Merge pull request #849 from quasilyte/patch-1
client: fix strings.Replace call args
2019-03-01 14:39:33 -08:00
Iskander (Alex) Sharipov 6e363c2309
client: fix strings.Replace call args
strings.Replace call with n=0 argument makes no sense
as it will do nothing. Probably -1 is intended.

Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>
2019-03-02 00:34:48 +03:00
Tõnis Tiigi 48594675fd
Merge pull request #846 from AkihiroSuda/carry-882
[Carry #822] Update containerd vendor
2019-02-28 22:33:05 -08:00