From 3af9ba147ef25d34ed20a4e5af0795fb252e8053 Mon Sep 17 00:00:00 2001 From: Vasek - Tom C Date: Wed, 22 Dec 2021 14:59:26 +0100 Subject: [PATCH] Add `#Platform` field to `#Plan` Signed-off-by: Vasek - Tom C --- stdlib/europa/dagger/engine/plan.cue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/stdlib/europa/dagger/engine/plan.cue b/stdlib/europa/dagger/engine/plan.cue index 99f242e3..187d71cf 100644 --- a/stdlib/europa/dagger/engine/plan.cue +++ b/stdlib/europa/dagger/engine/plan.cue @@ -27,6 +27,9 @@ package engine // Forward network services to and from the client proxy: [endpoint=string]: _#proxyEndpoint + // Configure platform execution + platform?: #Platform + // Execute actions in containers actions: { ... @@ -139,3 +142,7 @@ _#proxyEndpoint: { // A network service address #Address: string & =~"^(tcp://|unix://|udp://).*" + +// Platform supported by buildkit daemon +#Platform: "linux/amd64" | "linux/arm64" | "linux/arm/v7" | "linux/arm/v6" | + "linux/s390x" | "linux/ppc64le" | "darwin/amd64" | "windows/amd64"