test: docker-run-ports: fix sandbox escaping of dagger stream
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
parent
a61e8dcb62
commit
22fb91548b
@ -1,6 +1,10 @@
|
|||||||
plan:
|
plan:
|
||||||
package: ./docker/tests/run-ports
|
package: ./docker/tests/run-ports
|
||||||
name: docker-run-ports
|
name: docker-run-ports
|
||||||
|
inputs:
|
||||||
|
dockersocket:
|
||||||
|
socket:
|
||||||
|
unix: /var/run/docker.sock
|
||||||
sops:
|
sops:
|
||||||
kms: []
|
kms: []
|
||||||
gcp_kms: []
|
gcp_kms: []
|
||||||
@ -16,8 +20,8 @@ sops:
|
|||||||
TS80V3BnN3BaeDFTRjNBRTAwbWRKcWcK1rH2zWxTQsbSgOs9Ys89ZCP7kVOm1wFe
|
TS80V3BnN3BaeDFTRjNBRTAwbWRKcWcK1rH2zWxTQsbSgOs9Ys89ZCP7kVOm1wFe
|
||||||
Kv849q+QOvIy9JPYkGgV16Yr3ijFF7z/h0PCicZRI76WYV/3JnbYmg==
|
Kv849q+QOvIy9JPYkGgV16Yr3ijFF7z/h0PCicZRI76WYV/3JnbYmg==
|
||||||
-----END AGE ENCRYPTED FILE-----
|
-----END AGE ENCRYPTED FILE-----
|
||||||
lastmodified: "2021-09-28T15:06:47Z"
|
lastmodified: "2021-11-18T00:19:27Z"
|
||||||
mac: ENC[AES256_GCM,data:WF2X4RCio9x459Fv4XK/P933cS9uac3kHA2+kfaft++ndxbHOY0zmOhUvNMmzLtJNTXL7oBADWIIqIiFbaaC0pC+xGq1th+woR3LvAVQi5J0rlDTcdMDPT03KOPdOmsXFDow5jzyn8vPsC59VCys0ZmEnmnHIGufnFy2qKVV0bM=,iv:GUrSk66zhDqxx+rVM9zMDfmcaDBSOOMIeCSViS2cuLU=,tag:rgCoWe//hn8xmeRmbc5ybQ==,type:str]
|
mac: ENC[AES256_GCM,data:TtV35YtlXlZLvE8H+EoPvjJmCowmFftsS2DIifDeIeuRxkyMfk9tq39BemWFjoLKJx3FgFvC8bXGbWi3UMWi8wpzgjqmFVJCDWUdQ6NpdzPCXCVdOdkGUV+F/yjLX0dnsUZHnwSOZco0+uk/sNCWxecBE590brHoJw91j075DXQ=,iv:P8dEwdFnDvvMSJvNK4GXPMbTXbvLEsqoEhoP4K1IPVQ=,tag:LTT6gXDfSMWYttLOXQjidg==,type:str]
|
||||||
pgp: []
|
pgp: []
|
||||||
encrypted_suffix: secret
|
encrypted_suffix: secret
|
||||||
version: 3.7.1
|
version: 3.7.1
|
||||||
|
@ -5,6 +5,8 @@ import (
|
|||||||
"alpha.dagger.io/random"
|
"alpha.dagger.io/random"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
dockersocket: dagger.#Stream & dagger.#Input
|
||||||
|
|
||||||
suffix: random.#String & {
|
suffix: random.#String & {
|
||||||
seed: ""
|
seed: ""
|
||||||
}
|
}
|
||||||
@ -12,6 +14,6 @@ suffix: random.#String & {
|
|||||||
run: #Run & {
|
run: #Run & {
|
||||||
name: "daggerci-test-ports-\(suffix.out)"
|
name: "daggerci-test-ports-\(suffix.out)"
|
||||||
ref: "nginx"
|
ref: "nginx"
|
||||||
socket: dagger.#Stream & {unix: "/var/run/docker.sock"}
|
socket: dockersocket
|
||||||
ports: ["8080:80"]
|
ports: ["8080:80"]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user