From 7fe802eb1d9ae0068aebc46dcd41c87ac4563253 Mon Sep 17 00:00:00 2001 From: Inex Code Date: Mon, 17 Jul 2023 19:45:00 +0300 Subject: [PATCH] ci: Fix redis port of redis-cli command --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 5459ff3..9e5ef64 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,7 +8,7 @@ steps: - kill $(ps aux | grep 'redis-server 127.0.0.1:6389' | awk '{print $2}') || true - redis-server --bind 127.0.0.1 --port 6389 >/dev/null & # We do not care about persistance on CI - - redis-cli config set stop-writes-on-bgsave-error no + - redis-cli -h 127.0.0.1 -p 6389 config set stop-writes-on-bgsave-error no - coverage run -m pytest -q - coverage xml - sonar-scanner -Dsonar.projectKey=SelfPrivacy-REST-API -Dsonar.sources=. -Dsonar.host.url=http://analyzer.lan:9000 -Dsonar.login="$SONARQUBE_TOKEN"