From 155c3076f40bbc0b04103b7516f6bb1821b642ec Mon Sep 17 00:00:00 2001 From: "alireza.baloochi1380@gmail.com" Date: Mon, 5 Aug 2024 21:59:12 +0330 Subject: [PATCH] try fix elasticsearch ci --- .github/workflows/healthchecks_elasticsearch_ci.yml | 2 ++ .../Fixtures/ElasticContainerFixture.cs | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/healthchecks_elasticsearch_ci.yml b/.github/workflows/healthchecks_elasticsearch_ci.yml index 14a9014c56..6c44e1780d 100644 --- a/.github/workflows/healthchecks_elasticsearch_ci.yml +++ b/.github/workflows/healthchecks_elasticsearch_ci.yml @@ -43,6 +43,8 @@ jobs: 6.0.x 7.0.x 8.0.x + - run: + ln -s /usr/libexec/docker/cli-plugins/docker-compose /usr/local/bin/docker-compose - name: Restore run: | dotnet restore ./src/HealthChecks.Elasticsearch/HealthChecks.Elasticsearch.csproj && diff --git a/test/HealthChecks.Elasticsearch.Tests/Fixtures/ElasticContainerFixture.cs b/test/HealthChecks.Elasticsearch.Tests/Fixtures/ElasticContainerFixture.cs index b55c72bb30..f3f2f35043 100644 --- a/test/HealthChecks.Elasticsearch.Tests/Fixtures/ElasticContainerFixture.cs +++ b/test/HealthChecks.Elasticsearch.Tests/Fixtures/ElasticContainerFixture.cs @@ -26,7 +26,6 @@ public ElasticContainerFixture() _compositeService = new Builder() .UseContainer() .UseCompose() - .AssumeComposeVersion(Ductus.FluentDocker.Model.Compose.ComposeVersion.V2) .FromFile(_composeFilePath) .ForceRecreate() .Build()