Commit Graph

6 Commits

Author SHA1 Message Date
Marcos Nils
27d878456f
Improve tty error logging when buildkit vertex is unknown (#2188)
* Improve tty error logging when buildkit vertex is unknown

Creates a generic "system" group in the tty output which captures
buildkit events that report a non-dagger vertex name. This happens
currently when using core.#Dockerfile actions since Dagger delegates the
LLB generation to buildkit through it's frontend and we don't get
meaningful events that we can correlate from Dagger's side

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-04-18 21:50:34 -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
Sam Alba
c5660995f5 plan: raise error on cyclic task + cue error formatting
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 16:26:39 -08:00
Andrea Luzzardi
9f2d56f3c4 do: verify the action exists before running
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-08 18:34:47 -08:00
Andrea Luzzardi
b33b75a570 runner: switch to client API
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-07 16:03:36 -08:00
Andrea Luzzardi
0786410bbd Fix partial CUE tree run for dagger do
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-07 15:56:06 -08:00