From 4794fc87a06e9fb15b433de7232c66798c18a50e Mon Sep 17 00:00:00 2001 From: "Eric J. Smith" Date: Mon, 16 Dec 2024 17:42:39 -0600 Subject: [PATCH] Update Elasticsearch --- .../Extensions/ElasticsearchExtensions.cs | 4 ++-- src/Exceptionless.AppHost/Program.cs | 2 +- tests/Exceptionless.Tests/AspireWebHostFactory.cs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Exceptionless.AppHost/Extensions/ElasticsearchExtensions.cs b/src/Exceptionless.AppHost/Extensions/ElasticsearchExtensions.cs index d4e5a86fd..5a40b9ed2 100644 --- a/src/Exceptionless.AppHost/Extensions/ElasticsearchExtensions.cs +++ b/src/Exceptionless.AppHost/Extensions/ElasticsearchExtensions.cs @@ -16,7 +16,7 @@ public static class ElasticsearchBuilderExtensions private const int KibanaPort = 5601; /// - /// Adds a Elasticsearch container to the application model. The default image is "docker.elastic.co/elasticsearch/elasticsearch". This version the package defaults to the 8.16.1 tag of the Elasticsearch container image + /// Adds a Elasticsearch container to the application model. The default image is "docker.elastic.co/elasticsearch/elasticsearch". This version the package defaults to the 8.17.0 tag of the Elasticsearch container image /// /// The . /// The name of the resource. This name will be used as the connection string name when referenced in a dependency. @@ -117,5 +117,5 @@ internal static class ElasticsearchContainerImageTags public const string Registry = "docker.elastic.co"; public const string Image = "elasticsearch/elasticsearch"; public const string KibanaImage = "kibana/kibana"; - public const string Tag = "8.16.1"; + public const string Tag = "8.17.0"; } diff --git a/src/Exceptionless.AppHost/Program.cs b/src/Exceptionless.AppHost/Program.cs index 668a8576b..3a9b1f578 100644 --- a/src/Exceptionless.AppHost/Program.cs +++ b/src/Exceptionless.AppHost/Program.cs @@ -1,7 +1,7 @@ var builder = DistributedApplication.CreateBuilder(args); var elastic = builder.AddElasticsearch("Elasticsearch", port: 9200) - .WithImageTag("8.16.1") + .WithImageTag("8.17.0") .WithLifetime(ContainerLifetime.Persistent) .WithContainerName("Exceptionless-Elasticsearch") .WithDataVolume("exceptionless.data.v1") diff --git a/tests/Exceptionless.Tests/AspireWebHostFactory.cs b/tests/Exceptionless.Tests/AspireWebHostFactory.cs index f4341de31..1d389b727 100644 --- a/tests/Exceptionless.Tests/AspireWebHostFactory.cs +++ b/tests/Exceptionless.Tests/AspireWebHostFactory.cs @@ -25,7 +25,7 @@ public async Task InitializeAsync() builder.AddElasticsearch("Elasticsearch") .WithContainerName("Exceptionless-Elasticsearch-Test") - .WithImageTag("8.16.1") + .WithImageTag("8.17.0") .WithLifetime(ContainerLifetime.Persistent); builder.AddRedis("Redis")