diff --git a/stdlib/docker/compose/tests/compose.cue b/stdlib/docker/compose/tests/compose.cue index f0df571b..dffa83f8 100644 --- a/stdlib/docker/compose/tests/compose.cue +++ b/stdlib/docker/compose/tests/compose.cue @@ -15,6 +15,8 @@ TestSSH: { } 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"} name: "compose_test_\(suffix.out)" @@ -44,6 +46,8 @@ TestCompose: { } 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"} name: "inline_test_\(suffix.out)" @@ -65,7 +69,7 @@ TestInlineCompose: { environment: PORT: 7000 ports: - - 7000:7000 + - 7000 """# } diff --git a/stdlib/docker/compose/tests/testdata/docker-compose.yaml b/stdlib/docker/compose/tests/testdata/docker-compose.yaml index 908bc744..9f110ad6 100644 --- a/stdlib/docker/compose/tests/testdata/docker-compose.yaml +++ b/stdlib/docker/compose/tests/testdata/docker-compose.yaml @@ -4,4 +4,4 @@ services: api: build: "" ports: - - "8080:8080" \ No newline at end of file + - 8080 \ No newline at end of file