From cf19734bb392770caee8bb7bd82cdb840803f136 Mon Sep 17 00:00:00 2001 From: Tim Hess Date: Tue, 16 Jul 2024 12:20:28 -0500 Subject: [PATCH] pin RabbitMQ container version in CI --- azure-pipelines.yml | 4 +++- build/templates/component-build.yaml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index bf593ccef2..63a5f2d5b8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -134,9 +134,11 @@ jobs: command: build projects: src/Steeltoe.All.sln arguments: --no-restore -c $(buildConfiguration) -v n /p:TreatWarningsAsErrors=True + # RabbitMQ is pinned to 3.13.2 due to failure in Steeltoe.Messaging.RabbitMQ.Core.RabbitAdminIntegrationTest.TestDeclareDelayedExchange + # Currently failing versions include 3.13.3 and 3.13.4 - script: | docker run -d --name configserver -p 8888:8888 steeltoeoss/config-server --spring.cloud.config.server.git.default-label=main - docker run -d --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:3-management + docker run -d --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:3.13.2-management condition: eq(variables['integrationTests'], 'true') displayName: Start Docker services - task: DotNetCoreCLI@2 diff --git a/build/templates/component-build.yaml b/build/templates/component-build.yaml index ce1ee970ee..9f9d023b4a 100644 --- a/build/templates/component-build.yaml +++ b/build/templates/component-build.yaml @@ -37,7 +37,9 @@ jobs: command: build projects: $(SolutionFile) arguments: --no-restore -c Release -v n /p:TreatWarningsAsErrors=True - - script: docker run -d --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:3-management; sleep 10s + # RabbitMQ is pinned to 3.13.2 due to failure in Steeltoe.Messaging.RabbitMQ.Core.RabbitAdminIntegrationTest.TestDeclareDelayedExchange + # Currently failing versions include 3.13.3 and 3.13.4 + - script: docker run -d --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:3.13.2-management; sleep 10s condition: eq(${{parameters.runRabbitMQ}}, 'true') displayName: Start RabbitMQ - script: docker run -d --name configserver -p 8888:8888 steeltoeoss/config-server --spring.cloud.config.server.git.default-label=main; sleep 10s