From a910a1241fe287fab9bfc15a611e7b3f55c1c022 Mon Sep 17 00:00:00 2001 From: Florian Funke Date: Tue, 4 Feb 2025 15:18:00 +0100 Subject: [PATCH] update redis --- .github/workflows/build.yaml | 7 ++++++- test/pkg/source/redisdump/redisdump_test.go | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 1254b09..9812031 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -39,7 +39,12 @@ jobs: sudo chmod +x /usr/local/bin/restic - name: install redis-cli - run: sudo apt-get install redis-tools + run: | + curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg + sudo chmod 644 /usr/share/keyrings/redis-archive-keyring.gpg + echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list + sudo apt-get update + sudo apt-get install redis-tools=6:6.2.15-1rl1~noble1 - name: install mongodb run: | diff --git a/test/pkg/source/redisdump/redisdump_test.go b/test/pkg/source/redisdump/redisdump_test.go index c447266..6f2d463 100644 --- a/test/pkg/source/redisdump/redisdump_test.go +++ b/test/pkg/source/redisdump/redisdump_test.go @@ -33,7 +33,7 @@ const nameKey = "name" const typeKey = "type" const logString = "Ready to accept connections" const dumpKind = "redisdump" -const redisImage = "docker.io/bitnami/redis:latest" +const redisImage = "docker.io/bitnami/redis:6.2.14" type RedisDumpTestSuite struct { suite.Suite