docker-compose -p lagoon exec broker sh
Last active
December 12, 2023 05:44
-
-
Save shreddedbacon/6835d174a1aacfefc6a3b336a1aa1bbc to your computer and use it in GitHub Desktop.
set up queues
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for queue in "ui-kubernetes" "ui-kubernetes-2" "ci-local-control-k8s"; do | |
| rabbitmqadmin declare queue --vhost=/ name=lagoon-tasks:${queue}:builddeploy durable=true | |
| rabbitmqadmin --vhost=/ declare binding source="lagoon-tasks" destination_type="queue" destination="lagoon-tasks:${queue}:builddeploy" routing_key="${queue}:builddeploy" | |
| rabbitmqadmin declare queue --vhost=/ name=lagoon-tasks:${queue}:jobs durable=true | |
| rabbitmqadmin --vhost=/ declare binding source="lagoon-tasks" destination_type="queue" destination="lagoon-tasks:${queue}:jobs" routing_key="${queue}:jobs" | |
| rabbitmqadmin declare queue --vhost=/ name=lagoon-tasks:${queue}:misc durable=true | |
| rabbitmqadmin --vhost=/ declare binding source="lagoon-tasks" destination_type="queue" destination="lagoon-tasks:${queue}:misc" routing_key="${queue}:misc" | |
| rabbitmqadmin declare queue --vhost=/ name=lagoon-tasks:${queue}:remove durable=true | |
| rabbitmqadmin --vhost=/ declare binding source="lagoon-tasks" destination_type="queue" destination="lagoon-tasks:${queue}:remove" routing_key="${queue}:remove" | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment