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: {
|
#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
|
||||||
}
|
}
|
||||||
|
@ -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/
|
||||||
|
Reference in New Issue
Block a user