Skip to content
This repository has been archived by the owner on Aug 10, 2024. It is now read-only.

Commit

Permalink
Use rabbitmq-github-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-lane committed Dec 17, 2023
1 parent 15cd842 commit 6134fca
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ jobs:
steps:
- name: Checkout the Git repository
uses: actions/checkout@v3
- name: Setup RabbitMQ
env:
RABBITMQ_CONFIG_FILE: "${{ github.workspace }}/rabbitmq.conf"
run: |
sudo apt-get --yes install rabbitmq-server
sudo systemctl stop rabbitmq-server
sudo rabbitmq-server -detached
- name: Set up RabbitMQ 3.12
uses: namoshek/rabbitmq-github-action@v1
with:
version: "3.12"
ports: "5671:5671 5672:5672"
certificates: ${{ github.workspace }}/dev/ssl/cert
config: ${{ github.workspace }}/rabbitmq-actions.conf
- name: Set up Python 3.9
uses: actions/setup-python@v3
with:
Expand Down
7 changes: 7 additions & 0 deletions rabbitmq-actions.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
listeners.ssl.default = 5671

ssl_options.cacertfile = /rabbitmq-certs/ca_certificate.pem
ssl_options.certfile = /rabbitmq-certs/server_certificate.pem
ssl_options.keyfile = /rabbitmq-certs/server_key.pem
ssl_options.verify = verify_peer
ssl_options.fail_if_no_peer_cert = false

0 comments on commit 6134fca

Please sign in to comment.