Move tests plan from dagger dir to universe
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
This commit is contained in:
29
stdlib/docker/tests/run-ssh/simple.cue
Normal file
29
stdlib/docker/tests/run-ssh/simple.cue
Normal file
@@ -0,0 +1,29 @@
|
||||
package docker
|
||||
|
||||
import (
|
||||
"dagger.io/dagger"
|
||||
"dagger.io/random"
|
||||
)
|
||||
|
||||
TestConfig: {
|
||||
host: string @dagger(input)
|
||||
user: string @dagger(input)
|
||||
key: dagger.#Secret @dagger(input)
|
||||
}
|
||||
|
||||
TestSSH: {
|
||||
suffix: random.#String & {
|
||||
seed: ""
|
||||
}
|
||||
|
||||
run: #Run & {
|
||||
name: "daggerci-test-ssh-\(suffix.out)"
|
||||
ref: "hello-world"
|
||||
|
||||
ssh: {
|
||||
host: TestConfig.host
|
||||
user: TestConfig.user
|
||||
key: TestConfig.key
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user