From: Chocobozzz Date: Sun, 10 May 2020 07:41:34 +0000 (+0200) Subject: Fix gitlab ci tests postgresql X-Git-Tag: v2.2.0-rc.1~59 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=18e09bbb6bcc6f1c11f6e1da358398e61d7a06b3;p=oweals%2Fpeertube.git Fix gitlab ci tests postgresql --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 29773241b..7f142e129 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -160,8 +160,8 @@ test-external-plugins: - name: rroemhild/test-openldap alias: ldap variables: - POSTGRES_USER: postgres - POSTGRES_PASSWORD: "" + POSTGRES_USER: peertube + POSTGRES_PASSWORD: "peertube" POSTGRES_HOST_AUTH_METHOD: trust REDIS_HOST: redis artifacts: @@ -172,7 +172,6 @@ test-external-plugins: before_script: - 'sed -i -z "s/database:\n hostname: ''localhost''/database:\n hostname: ''postgres''/" config/test.yaml' - 'sed -i -z "s/redis:\n hostname: ''localhost''/redis:\n hostname: ''redis''/" config/test.yaml' - - psql -c "create user peertube with password 'peertube';" - NOCLIENT=1 yarn install --pure-lockfile --cache-folder .yarn-cache script: - npm run ci -- "external-plugins"