From ce179f0ddbf0e82db3d95a7373aadb6c255dcd22 Mon Sep 17 00:00:00 2001 From: Gregor Zeitlinger Date: Thu, 2 May 2024 18:43:21 +0200 Subject: [PATCH] use docker compose --- .github/workflows/reusable-native-tests.yml | 4 ++-- .../smoketest/GraalVmNativeKafkaSpringStarterSmokeTest.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/reusable-native-tests.yml b/.github/workflows/reusable-native-tests.yml index ab34dee78071..e701b13e1ec4 100644 --- a/.github/workflows/reusable-native-tests.yml +++ b/.github/workflows/reusable-native-tests.yml @@ -27,7 +27,7 @@ jobs: # Testcontainers does not work with native-image, # therefore we're starting a Kafka container manually for the tests # The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested - docker compose -f graal-native-docker-compose.yaml up -d + docker compose -f .github/workflows/graal-native-docker-compose.yaml up -d # don't wait for startup - gradle compile takes long enough ./gradlew nativeTest - docker compose -f graal-native-docker-compose.yaml down # is this needed? + docker compose -f .github/workflows/graal-native-docker-compose.yaml down # is this needed? diff --git a/smoke-tests-otel-starter/spring-boot-3/src/test/java/io/opentelemetry/smoketest/GraalVmNativeKafkaSpringStarterSmokeTest.java b/smoke-tests-otel-starter/spring-boot-3/src/test/java/io/opentelemetry/smoketest/GraalVmNativeKafkaSpringStarterSmokeTest.java index 40c21ded93eb..7ee964513f71 100644 --- a/smoke-tests-otel-starter/spring-boot-3/src/test/java/io/opentelemetry/smoketest/GraalVmNativeKafkaSpringStarterSmokeTest.java +++ b/smoke-tests-otel-starter/spring-boot-3/src/test/java/io/opentelemetry/smoketest/GraalVmNativeKafkaSpringStarterSmokeTest.java @@ -17,7 +17,7 @@ * it's not yet clear why it doesn't work in our case. * *

In CI, this is done in reusable-native-tests.yml. If you want to run the tests locally, you - * need to start the container manually: see reusable-native-tests.yml for the command. + * need to start the container manually: see .github/workflows/reusable-native-tests.yml for the command. */ @EnabledInNativeImage // see JvmMongodbSpringStarterSmokeTest for the JVM test @EnabledInGithubActions