Commit Graph

12 Commits

Author SHA1 Message Date
landlord
c4ff6f9aa8 chore: update clientfilesystemread.go
Signed-off-by: rrylee <rrylee1994@gmail.com>
2022-04-11 07:57:39 +08:00
Andrea Luzzardi
893b8dad30
Merge pull request #2018 from dolanor/fix-missing-err-check
fix: add full error handling after os.Stat
2022-04-05 17:00:03 -07:00
Tanguy ⧓ Herrmann
9258cbf02e
fix: wrap the error
Signed-off-by: Tanguy ⧓ Herrmann <tanguy@dagger.io>
2022-04-05 13:32:36 +02:00
Andrea Luzzardi
0a6fa03c16 client filesystem: remove .dagger from default exclusion
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-04-04 15:33:33 -07:00
Tanguy ⧓ Herrmann
f18a2ce03a
fix: add full error handling after os.Stat
Signed-off-by: Tanguy ⧓ Herrmann <tanguy@dagger.io>
2022-04-04 13:36:35 +02:00
Marcos Lilljedahl
7ffbef33b5 Report error if FS is incorrectly handled on client filesystem read
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-04-01 13:25:58 -03:00
Marcos Lilljedahl
66153c6194 Prevents files to be used as input of dagger.#FS
Errors out in the PreRun phase of the clientfilesystemreader task since
otherwise, dagger execution would hang
Fixes #1977

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-03-31 19:33:18 -03:00
Tom Chauveau
19c0f999f4
Fix export cache issue
Resolve #1551 and #1020.
We are never returning the result of solved operations so Buildkit could not
cache the layer.
This commit implements a simple system to forward operations' result to the
main build to cache it.

Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-03-31 20:36:50 +02:00
Helder Correia
d771699df9
Move connecting socket to client: network
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-28 18:16:07 +00:00
Helder Correia
6a2bbc62e0
Rename dagger.#Service to dagger.#Socket
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-28 17:56:25 +00:00
Helder Correia
770acd3ce2
Expand user home dir in client filesystem
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-25 20:25:36 -01:00
Helder Correia
da90baa087
Add new Client API
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-07 17:13:16 -01:00