From 8b4ffc0e866121127276c057a63bf18e9dd0487b Mon Sep 17 00:00:00 2001 From: reneradoi Date: Mon, 10 Jun 2024 14:19:46 +0000 Subject: [PATCH] always install redis package from redis repo --- rockcraft.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/rockcraft.yaml b/rockcraft.yaml index 0b240c2..31df5ab 100644 --- a/rockcraft.yaml +++ b/rockcraft.yaml @@ -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 @@ -38,7 +46,7 @@ parts: plugin: nil after: - redis-user - stage-snaps: + stage-packages: - redis redis_exporter: plugin: go