stdlib: docker: disable local #Run

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi 2021-06-07 13:29:42 -07:00
parent ce5accd09c
commit 2acf0ce4e5
2 changed files with 4 additions and 6 deletions

View File

@ -45,7 +45,7 @@ import (
#Run: { #Run: {
// Connect to a remote SSH server // Connect to a remote SSH server
ssh?: { ssh: {
// ssh host // ssh host
host: string @dagger(input) host: string @dagger(input)
@ -172,9 +172,6 @@ import (
} }
} }
mount: { mount: {
if ssh == _|_ {
"/var/run/docker.sock": "docker.sock"
}
if ssh.key != _|_ { if ssh.key != _|_ {
"/key": secret: ssh.key "/key": secret: ssh.key
} }

View File

@ -95,9 +95,10 @@ setup() {
} }
@test "stdlib: docker: run" { @test "stdlib: docker: run" {
# FIXME: local run disabled
# Local run # Local run
run "$DAGGER" up -w "$TESTDIR"/stdlib/docker/run/local/ # run "$DAGGER" up -w "$TESTDIR"/stdlib/docker/run/local/
assert_success # assert_success
# SSH key # SSH key
run "$DAGGER" up -w "$TESTDIR"/stdlib/docker/run/ssh/ run "$DAGGER" up -w "$TESTDIR"/stdlib/docker/run/ssh/