Add #Platform
field to #Plan
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
This commit is contained in:
parent
0e5fb4ec29
commit
3af9ba147e
@ -27,6 +27,9 @@ package engine
|
|||||||
// Forward network services to and from the client
|
// Forward network services to and from the client
|
||||||
proxy: [endpoint=string]: _#proxyEndpoint
|
proxy: [endpoint=string]: _#proxyEndpoint
|
||||||
|
|
||||||
|
// Configure platform execution
|
||||||
|
platform?: #Platform
|
||||||
|
|
||||||
// Execute actions in containers
|
// Execute actions in containers
|
||||||
actions: {
|
actions: {
|
||||||
...
|
...
|
||||||
@ -139,3 +142,7 @@ _#proxyEndpoint: {
|
|||||||
|
|
||||||
// A network service address
|
// A network service address
|
||||||
#Address: string & =~"^(tcp://|unix://|udp://).*"
|
#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"
|
||||||
|
Reference in New Issue
Block a user