Skip to content

Commit

Permalink
ci: Exec by name
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorGaiva committed Jan 18, 2024
1 parent 819b200 commit 5fb0b0d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ jobs:
services: "rabbitmq_stream_${{ matrix.version }}"

- name: Create 'invoices' SuperStream
run: |
DOCKER_NAME=$(docker ps --filter name=rabbitmq_stream --format "{{.Names}}")
docker exec $DOCKER_NAME rabbitmq-streams add_super_stream invoices --partitions 3
run: docker exec rabbitmq_stream rabbitmq-streams add_super_stream invoices --partitions 3

- name: Install Dependencies
run: |
Expand Down

0 comments on commit 5fb0b0d

Please sign in to comment.