ActivityPub-federated video streaming platform using P2P directly in your web browser
Remove unused gitlab ci env variables
Chocobozzzee90f1bc19c4
diff --git a/scripts/clean/server/test.sh b/scripts/clean/server/test.shindex dbd399aaa5..f85daf810b 100755--- a/scripts/clean/server/test.sh+++ b/scripts/clean/server/test.sh@@ -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" DELredis-cli -h "$host" KEYS "redis-localhost:$port*" | grep -v empty | xargs --no-run-if-empty redis-cli -h "$host" DELredis-cli -h "$host" KEYS "*redis-localhost:$port-" | grep -v empty | xargs --no-run-if-empty redis-cli -h "$host" DELdiff --git a/shared/extra-utils/miscs/miscs.ts b/shared/extra-utils/miscs/miscs.tsindex caf09c01fd..6a73f461e2 100644--- a/shared/extra-utils/miscs/miscs.ts+++ b/shared/extra-utils/miscs/miscs.ts@@ -67,8 +67,6 @@ function buildAbsoluteFixturePath (path: string, customCIPath = false) {if (isAbsolute(path)) return pathif (customCIPath) {- if (process.env.GITLAB_CI) return join(root(), 'cached-fixtures', path)-return join(process.env.HOME, 'fixtures', path)}diff --git a/shared/extra-utils/miscs/sql.ts b/shared/extra-utils/miscs/sql.tsindex 5bd5d5d8a9..e68812e1b4 100644--- a/shared/extra-utils/miscs/sql.ts+++ b/shared/extra-utils/miscs/sql.ts@@ -9,7 +9,7 @@ function getSequelize (internalServerNumber: number) {const dbname = 'peertube_test' + internalServerNumberconst username = 'peertube'const password = 'peertube'- const host = process.env.GITLAB_CI ? 'postgres' : 'localhost'+ const host = 'localhost'const port = 5432const seq = new Sequelize(dbname, username, password, {