Merge pull request #600 from aluzzardi/fix-ci-docker-run

tests: use different container prefix for docker tests
This commit is contained in:
Andrea Luzzardi 2021-06-09 11:50:26 -07:00 committed by GitHub
commit b0d571562d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 29 deletions

View File

@ -1,26 +0,0 @@
package docker
import (
"dagger.io/docker"
"dagger.io/dagger"
"dagger.io/random"
)
key: dagger.#Secret @dagger(input)
passphrase: dagger.#Secret @dagger(input)
user: string @dagger(input)
TestRun: {
suffix: random.#String & {
seed: ""
}
run: docker.#Run & {
host: "143.198.64.230"
ref: "nginx:alpine"
"user": user
"passphrase": passphrase
name: "daggerci-test-simple-\(suffix.out)"
"key": key
}
}

View File

@ -20,7 +20,7 @@ TestRun: {
run: docker.#Run & {
ref: "hello-world"
name: "daggerci-test-simple-\(suffix.out)"
name: "daggerci-test-ssh-passphrase-\(suffix.out)"
ssh: {
host: TestConfig.host

View File

@ -19,7 +19,7 @@ TestRun: {
}
run: docker.#Run & {
name: "daggerci-test-simple-\(suffix.out)"
name: "daggerci-test-ssh-wrong-passphrase-\(suffix.out)"
ref: "hello-world"
ssh: {

View File

@ -18,7 +18,7 @@ TestSSH: {
}
run: docker.#Run & {
name: "daggerci-test-simple-\(suffix.out)"
name: "daggerci-test-ssh-\(suffix.out)"
ref: "hello-world"
ssh: {