Merge pull request #747 from TomChv/parallel-compose-tests
Compose tests doesn't bind a special port anymore
This commit is contained in:
commit
cc1e0cd6dc
@ -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