Skip to content

Commit 33d489b

Browse files
committed
Use namoshek/rabbitmq-github-action
# Conflicts: # .github/workflows/verify-staged-artifacts.yml
1 parent c6e9956 commit 33d489b

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

.github/workflows/verify-staged-artifacts.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,13 @@ jobs:
1212
verify-staged-with-samples:
1313
runs-on: ubuntu-latest
1414

15-
services:
16-
17-
rabbitmq:
18-
image: rabbitmq:management
19-
ports:
20-
- 5672:5672
21-
- 15672:15672
22-
- 5552:5552
23-
2415
steps:
2516

26-
- name: Enable RabbitMQ Stream Plugin
27-
run: docker exec ${{ job.services.rabbitmq.id }} rabbitmq-plugins enable rabbitmq_stream
17+
- name: Start RabbitMQ
18+
uses: namoshek/rabbitmq-github-action@v1
19+
with:
20+
ports: '5672:5672 15672:15672 5552:5552'
21+
plugins: rabbitmq_stream,rabbitmq_management
2822

2923
- name: Checkout Samples Repo
3024
uses: actions/checkout@v4
@@ -48,7 +42,9 @@ jobs:
4842
run: jf mvnc --repo-resolve-releases=libs-release-staging --repo-resolve-snapshots=snapshot
4943

5044
- name: Verify samples against staged release
51-
run: jf mvn verify -D"spring-amqp.version"=${{ inputs.releaseVersion }} -B -ntp
45+
run: |
46+
mvn versions:set -DnewVersion=${{ inputs.releaseVersion }} -DgenerateBackupPoms=false -DprocessAllModules=true -B -ntp
47+
jf mvn verify -B -ntp
5248
5349
- name: Capture Test Results
5450
if: failure()

0 commit comments

Comments
 (0)