stdlib: docker: disable local #Run
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
parent
ce5accd09c
commit
2acf0ce4e5
@ -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
|
||||
}
|
||||
|
@ -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/
|
||||
|
Reference in New Issue
Block a user