]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/clean/server/test.sh
Remove unused gitlab ci env variables
[github/Chocobozzz/PeerTube.git] / scripts / clean / server / test.sh
index dbd399aaa5172a89981ca606e885dade2a3133bc..f85daf810b162161370eca0fb6dd485ef621a3cd 100755 (executable)
@@ -20,10 +20,6 @@ dropRedis () {
   port=$((9000+$1))
   host="localhost"
 
-  if [ ! -z ${GITLAB_CI+x} ]; then
-    host="redis"
-  fi
-
   redis-cli -h "$host" KEYS "bull-localhost:$port*" | grep -v empty | xargs --no-run-if-empty redis-cli -h "$host" DEL
   redis-cli -h "$host" KEYS "redis-localhost:$port*" | grep -v empty | xargs --no-run-if-empty redis-cli -h "$host" DEL
   redis-cli -h "$host" KEYS "*redis-localhost:$port-" | grep -v empty | xargs --no-run-if-empty redis-cli -h "$host" DEL