Try to fix gitlab ci
authorChocobozzz <me@florianbigard.com>
Wed, 13 May 2020 07:40:22 +0000 (09:40 +0200)
committerChocobozzz <me@florianbigard.com>
Wed, 13 May 2020 07:40:33 +0000 (09:40 +0200)
.gitlab-ci.yml

index e3851d080a70dff898e46c5d34b904a8e0c5903c..8deb0769484931b23f8acf6bd959f666c68a6821 100644 (file)
@@ -160,10 +160,7 @@ test-external-plugins:
     - name: rroemhild/test-openldap
       alias: ldap
   variables:
-    PGHOST: postgres
-    PGUSER: peertube
     POSTGRES_USER: peertube
-    POSTGRES_PASSWORD: peertube
     POSTGRES_HOST_AUTH_METHOD: trust
     REDIS_HOST: redis
   artifacts:
@@ -176,4 +173,4 @@ test-external-plugins:
     - 'sed -i -z "s/redis:\n  hostname: ''localhost''/redis:\n  hostname: ''redis''/" config/test.yaml'
     - 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"