Add random name generation to avoid orphans during parallel CI

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
This commit is contained in:
Tom Chauveau 2021-06-26 16:18:18 +02:00
parent 020c458921
commit e1c72890ec

View File

@ -3,6 +3,7 @@ package compose
import (
"alpha.dagger.io/dagger"
"alpha.dagger.io/docker"
"alpha.dagger.io/random"
)
repo: dagger.#Artifact @dagger(input)
@ -14,7 +15,9 @@ TestSSH: {
}
TestCompose: {
name: "compose_test"
suffix: random.#String & {seed: "cmp"}
name: "compose_test_\(suffix.out)"
up: #App & {
ssh: {
@ -41,7 +44,9 @@ TestCompose: {
}
TestInlineCompose: {
name: "inline_test"
suffix: random.#String & {seed: "cmp-inline"}
name: "inline_test_\(suffix.out)"
up: #App & {
ssh: {