Skip to content

Commit

Permalink
rabbitmq: update to 3.12 release
Browse files Browse the repository at this point in the history
3.12 is currently only in >= Mantic so use the backport PPA
owned by the Ubuntu Cloud Archive team until we get to 24.04.
  • Loading branch information
javacruft committed Aug 1, 2023
1 parent 9f38a82 commit 13d4b38
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
8 changes: 4 additions & 4 deletions rocks/rabbitmq/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ it will help ensure that all layers of the image are imported
into docker (this is just the top layer).

```bash
> skopeo --insecure-policy copy oci-archive:rabbitmq_3.9.13_amd64.rock docker-daemon:rabbitmq:3.9.13
> skopeo --insecure-policy copy oci-archive:rabbitmq_3.12.1_amd64.rock docker-daemon:rabbitmq:3.12.1
```

If you are interested in giving it a go in Microk8s, you can
export the image from your docker registry and then into the
microk8s registry:

```bash
> docker save rabbitmq:3.9.13 > ./rabbitmq.3.9.13.tar
> microk8s ctr image import ./rabbitmq.3.9.13.tar
> docker save rabbitmq:3.12.1 > ./rabbitmq.3.12.1.tar
> microk8s ctr image import ./rabbitmq.3.12.1.tar
# Try with sunbeam
> juju attach-resource rabbitmq rabbitmq-image=rabbitmq:3.9.13
> juju attach-resource rabbitmq rabbitmq-image=rabbitmq:3.12.1
```
7 changes: 6 additions & 1 deletion rocks/rabbitmq/rockcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
name: rabbitmq
summary: RabbitMQ
description: AMQP based message broker.
version: 3.9.13
version: 3.12.1
base: ubuntu:22.04
license: Apache-2.0
platforms:
amd64:

package-repositories:
- type: apt
ppa: ubuntu-cloud-archive/rabbitmq-3.12-updates
priority: always

services:
rabbitmq:
override: replace
Expand Down

0 comments on commit 13d4b38

Please sign in to comment.