Commit Graph

1647 Commits

Author SHA1 Message Date
Tonis Tiigi
c57e5b22ea dockerfile: add regression test for wildcard cache
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-15 17:49:58 -07:00
Tonis Tiigi
c4ef668f62 dockerfile: regression test for existing dest dir perms
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-15 17:49:58 -07:00
Tonis Tiigi
369f7482de dockerfile: regression test for wildcard unpack
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-15 17:49:58 -07:00
Tonis Tiigi
39ba2ede04 dockerfile: regression test for workdir creation
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-15 17:49:58 -07:00
Tonis Tiigi
bb11c8c5c9 dockerfile: empty wildcard regression test
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-15 17:49:58 -07:00
Tonis Tiigi
33955c9b9e vendor: revendor new packages
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-15 17:49:58 -07:00
Tonis Tiigi
0d17ac323e fileop: updates with new fsutil copy pkg
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-15 17:49:58 -07:00
Tonis Tiigi
8a4674bab4 fileop: add dockerfile support
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-15 17:49:50 -07:00
Tonis Tiigi
7210bf6806 fileop: add chown support
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-15 17:49:50 -07:00
Tonis Tiigi
171feaafeb vendor: add fsutil copy package
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-15 17:49:44 -07:00
Tonis Tiigi
4ffd79735b fileop: connect with contenthash
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-15 16:31:00 -07:00
Tonis Tiigi
81a5fa5a2e llbsolver: fileop implementation
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-15 16:22:35 -07:00
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
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
v0.4.0
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
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