Skip to content

Commit

Permalink
Use namoshek/rabbitmq-github-action
Browse files Browse the repository at this point in the history
# Conflicts:
#	.github/workflows/verify-staged-artifacts.yml
  • Loading branch information
artembilan committed Feb 22, 2024
1 parent c6e9956 commit 33d489b
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/verify-staged-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,13 @@ jobs:
verify-staged-with-samples:
runs-on: ubuntu-latest

services:

rabbitmq:
image: rabbitmq:management
ports:
- 5672:5672
- 15672:15672
- 5552:5552

steps:

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

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

- name: Verify samples against staged release
run: jf mvn verify -D"spring-amqp.version"=${{ inputs.releaseVersion }} -B -ntp
run: |
mvn versions:set -DnewVersion=${{ inputs.releaseVersion }} -DgenerateBackupPoms=false -DprocessAllModules=true -B -ntp
jf mvn verify -B -ntp
- name: Capture Test Results
if: failure()
Expand Down

0 comments on commit 33d489b

Please sign in to comment.