diff --git a/stdlib/.dagger/env/docker-run-local/values.yaml b/stdlib/.dagger/env/docker-run-local/values.yaml index f6101056..ff2cc435 100644 --- a/stdlib/.dagger/env/docker-run-local/values.yaml +++ b/stdlib/.dagger/env/docker-run-local/values.yaml @@ -1,6 +1,10 @@ plan: package: ./docker/tests/run-local name: docker-run-local +inputs: + dockersocket: + socket: + unix: /var/run/docker.sock sops: kms: [] gcp_kms: [] @@ -16,8 +20,8 @@ sops: cnh2eHU5TzFjVkNvTzUyczFBL0pwTDQK60+wrLmTaD3Ws5ZAXdqBkMjaVP7Iz69k UrkqkMbaUlvvSKK7dB5MuTGEEN6A1viAGal9ZjDHlSobkNPuE24QEA== -----END AGE ENCRYPTED FILE----- - lastmodified: "2021-07-08T09:54:17Z" - mac: ENC[AES256_GCM,data:Fwvi/c8oNOtB8yUl9R0teUibQQLfTyPjhua2DiNhcAZYT1IJeUXnLl+llAGl8hOl5pR1ZLIgbpW46HW6ZBn3bZND0K5/uZL3CNM5+MLlrHzIxy1xFbXXDLYHH0rbRfGmQtSu2b/JKwTiTfbiPSd6VASFtIvoeTU79hQXE2DVmWk=,iv:iFVZvw4KMLOo/u1IrHMF2xZlER2Oqn2RY6pM78o+FyI=,tag:nXJnewaOGz/URq8o8+uYFg==,type:str] + lastmodified: "2021-09-21T23:13:41Z" + mac: ENC[AES256_GCM,data:jF/Uu0y+uXym4UeXfRmzuZvEkqbk12vzByoiMOk2X/lQ+26x5LzWWwso7/2KjAnDonrKaPLChpaBJE89SIyuLKcU43/ttQ3xZK8TBfj7RWU5hT0Bj1kW2w258LLqcvYSrmHsvzh7aigG561LowJYysoHt4Bt6m66mwZq7wjelqA=,iv:toaSdz6F1oNf5ELSP3/aHLEAzyEAXKLZfxJBoR/aBOY=,tag:2xnNbmSsGTsMD0YT1+valA==,type:str] pgp: [] encrypted_suffix: secret version: 3.7.1 diff --git a/stdlib/docker/tests/run-local/local.cue b/stdlib/docker/tests/run-local/local.cue index 36e4f95f..8eb83866 100644 --- a/stdlib/docker/tests/run-local/local.cue +++ b/stdlib/docker/tests/run-local/local.cue @@ -1,14 +1,18 @@ package docker import ( + "alpha.dagger.io/dagger" "alpha.dagger.io/random" ) +dockersocket: dagger.#Stream & dagger.#Input + suffix: random.#String & { seed: "" } run: #Run & { - name: "daggerci-test-local-\(suffix.out)" - ref: "hello-world" + name: "daggerci-test-local-\(suffix.out)" + ref: "hello-world" + socket: dockersocket } diff --git a/stdlib/universe.bats b/stdlib/universe.bats index cb85c73f..d02aac00 100644 --- a/stdlib/universe.bats +++ b/stdlib/universe.bats @@ -76,8 +76,7 @@ setup() { } @test "docker run: local" { - skip "Not implemented yet + missing inputs leading to failure" - # dagger -e docker-run-local up + dagger -e docker-run-local up } @test "docker build" { @@ -257,4 +256,4 @@ setup() { @test "azure-stapp" { skip "Azure CI infra not implemented yet - manually tested and working" #dagger -e azure-stapp up -} \ No newline at end of file +}