X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=.gitlab-ci.yml;h=8deb0769484931b23f8acf6bd959f666c68a6821;hb=7461d440c284459525c03accbde4d5cd18a59725;hp=29773241bd0585be5158f8304da41304dac8d783;hpb=ee8e602ef9761b4869e14d4d3ed24a2e18f22c65;p=github%2FChocobozzz%2FPeerTube.git diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 29773241b..8deb07694 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -160,8 +160,7 @@ test-external-plugins: - name: rroemhild/test-openldap alias: ldap variables: - POSTGRES_USER: postgres - POSTGRES_PASSWORD: "" + POSTGRES_USER: peertube POSTGRES_HOST_AUTH_METHOD: trust REDIS_HOST: redis artifacts: @@ -172,7 +171,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" + - PGHOST=postgres PGUSER=peertube npm run ci -- "external-plugins"