Compose tests doesn't bind a special port anymore
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
This commit is contained in:
parent
14062c3c38
commit
8e8438e464
@ -15,6 +15,8 @@ TestSSH: {
|
|||||||
}
|
}
|
||||||
|
|
||||||
TestCompose: {
|
TestCompose: {
|
||||||
|
// Generate a random string.
|
||||||
|
// Seed is used to force buildkit execution and not simply use a previous generated string.
|
||||||
suffix: random.#String & {seed: "cmp"}
|
suffix: random.#String & {seed: "cmp"}
|
||||||
|
|
||||||
name: "compose_test_\(suffix.out)"
|
name: "compose_test_\(suffix.out)"
|
||||||
@ -44,6 +46,8 @@ TestCompose: {
|
|||||||
}
|
}
|
||||||
|
|
||||||
TestInlineCompose: {
|
TestInlineCompose: {
|
||||||
|
// Generate a random string.
|
||||||
|
// Seed is used to force buildkit execution and not simply use a previous generated string.
|
||||||
suffix: random.#String & {seed: "cmp-inline"}
|
suffix: random.#String & {seed: "cmp-inline"}
|
||||||
|
|
||||||
name: "inline_test_\(suffix.out)"
|
name: "inline_test_\(suffix.out)"
|
||||||
@ -65,7 +69,7 @@ TestInlineCompose: {
|
|||||||
environment:
|
environment:
|
||||||
PORT: 7000
|
PORT: 7000
|
||||||
ports:
|
ports:
|
||||||
- 7000:7000
|
- 7000
|
||||||
"""#
|
"""#
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,4 +4,4 @@ services:
|
|||||||
api:
|
api:
|
||||||
build: ""
|
build: ""
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- 8080
|
Reference in New Issue
Block a user