Skip to content

Commit

Permalink
pin RabbitMQ container version in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
TimHess committed Jul 16, 2024
1 parent 11004a1 commit cf19734
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion build/templates/component-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf19734

Please # to comment.