Skip to content

Commit

Permalink
always install redis package from redis repo
Browse files Browse the repository at this point in the history
  • Loading branch information
reneradoi committed Jun 10, 2024
1 parent 4a8774a commit 8b4ffc0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ services:
summary: Start Redis Exporter
command: "/bin/redis_exporter"

package-repositories:
- type: apt
components: [main]
suites: [jammy]
key-id: 54318FA4052D1E61A6B6F7BB5F4349D6BF53AA0C
url: https://packages.redis.io/deb
priority: always

parts:
redis-user:
plugin: nil
Expand All @@ -38,7 +46,7 @@ parts:
plugin: nil
after:
- redis-user
stage-snaps:
stage-packages:
- redis
redis_exporter:
plugin: go
Expand Down

0 comments on commit 8b4ffc0

Please sign in to comment.