Commit Graph

9 Commits

Author SHA1 Message Date
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
guillaume
ac30274d96 Implement modifications for engine.#Pull, engine.#Push, docker.#Push, docker.#Pull
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2022-01-31 23:14:35 +01:00
Helder Correia
c276a8b8ba
Make env in ImageConfig a map
Fields in CUE were renamed to the lowercase version of Dockerfile instructions.

There's now opportunity to make other fields simpler to use (e.g., healthcheck), this commit is focused on env.

Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-01-26 17:12:08 -01:00
Andrea Luzzardi
bb93b9d875 engine.#Pull: don't apply image config
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-22 16:26:58 +01:00
Sam Alba
b082b1e5bc implemented integration tests for engine.#Pull + moved auth code separately for sharing code with other tasks later
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-17 10:07:33 -08:00
Sam Alba
0be6a4066e plan: added auth support to engine.#Pull
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-17 10:06:58 -08:00
Andrea Luzzardi
85a4825237 engine: Pull: fix vertex name in logs
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-14 15:41:44 +01:00
Andrea Luzzardi
0768ac9f3f compiler: FillFields helper, cleaned up repeated code
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-13 16:13:49 +01:00
Andrea Luzzardi
ff6c7d1c1f engine.#Pull implementation
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-13 16:13:49 +01:00