Skip to content

Commit

Permalink
Updated workflow and env names
Browse files Browse the repository at this point in the history
  • Loading branch information
GopalSaraf committed Nov 25, 2024
1 parent b678391 commit e61435d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rabbitmq-keepalive-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: RabbitMQ Keepalive Build and Push Docker Image
name: RabbitMQ Keepalive Build, Push and Deploy to Dev
on:
workflow_dispatch:

Expand Down
9 changes: 8 additions & 1 deletion rabbitmq-keepalive/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,14 @@

load_dotenv(override=True)

RABBITMQ_URL = os.getenv("RABBITMQ_URL")
RABBITMQ_HOST = os.getenv("RABBITMQ_HOST")
RABBITMQ_PORT = os.getenv("RABBITMQ_PORT")
RABBITMQ_USERNAME = os.getenv("RABBITMQ_USERNAME")
RABBITMQ_PASSWORD = os.getenv("RABBITMQ_PASSWORD")
RABBITMQ_URL = os.getenv(
"RABBITMQ_URL",
f"amqp://{RABBITMQ_USERNAME}:{RABBITMQ_PASSWORD}@{RABBITMQ_HOST}:{RABBITMQ_PORT}",
)
EXCHANGE_NAME = os.getenv("EXCHANGE_NAME")
QUEUES = os.getenv("QUEUES")
NO_OF_EVENTS = os.getenv("NO_OF_EVENTS")
Expand Down

0 comments on commit e61435d

Please sign in to comment.