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

View File

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