allow limiting video-comments rss feeds to an account or video channel
[oweals/peertube.git] / .gitlab-ci.yml
index 4f76baa5afdf256ad2a0f2196bcc4bc07fc6e5fe..8deb0769484931b23f8acf6bd959f666c68a6821 100644 (file)
@@ -160,8 +160,8 @@ test-external-plugins:
     - name: rroemhild/test-openldap
       alias: ldap
   variables:
-    PGHOST: postgres
-    PGUSER: postgres
+    POSTGRES_USER: peertube
+    POSTGRES_HOST_AUTH_METHOD: trust
     REDIS_HOST: redis
   artifacts:
    expire_in: 1 day
@@ -171,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"