diff options
author | Chocobozzz <me@florianbigard.com> | 2020-05-10 09:41:34 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-05-10 10:41:55 +0200 |
commit | 18e09bbb6bcc6f1c11f6e1da358398e61d7a06b3 (patch) | |
tree | 6257906a6e723f7155743e9be10aeb5775bc1c81 /.gitlab-ci.yml | |
parent | 295928a335143b2c42bc0e8dbf23532badccdbf9 (diff) | |
download | PeerTube-18e09bbb6bcc6f1c11f6e1da358398e61d7a06b3.tar.gz PeerTube-18e09bbb6bcc6f1c11f6e1da358398e61d7a06b3.tar.zst PeerTube-18e09bbb6bcc6f1c11f6e1da358398e61d7a06b3.zip |
Fix gitlab ci tests postgresql
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 2 insertions, 3 deletions
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: | |||
160 | - name: rroemhild/test-openldap | 160 | - name: rroemhild/test-openldap |
161 | alias: ldap | 161 | alias: ldap |
162 | variables: | 162 | variables: |
163 | POSTGRES_USER: postgres | 163 | POSTGRES_USER: peertube |
164 | POSTGRES_PASSWORD: "" | 164 | POSTGRES_PASSWORD: "peertube" |
165 | POSTGRES_HOST_AUTH_METHOD: trust | 165 | POSTGRES_HOST_AUTH_METHOD: trust |
166 | REDIS_HOST: redis | 166 | REDIS_HOST: redis |
167 | artifacts: | 167 | artifacts: |
@@ -172,7 +172,6 @@ test-external-plugins: | |||
172 | before_script: | 172 | before_script: |
173 | - 'sed -i -z "s/database:\n hostname: ''localhost''/database:\n hostname: ''postgres''/" config/test.yaml' | 173 | - 'sed -i -z "s/database:\n hostname: ''localhost''/database:\n hostname: ''postgres''/" config/test.yaml' |
174 | - 'sed -i -z "s/redis:\n hostname: ''localhost''/redis:\n hostname: ''redis''/" config/test.yaml' | 174 | - 'sed -i -z "s/redis:\n hostname: ''localhost''/redis:\n hostname: ''redis''/" config/test.yaml' |
175 | - psql -c "create user peertube with password 'peertube';" | ||
176 | - NOCLIENT=1 yarn install --pure-lockfile --cache-folder .yarn-cache | 175 | - NOCLIENT=1 yarn install --pure-lockfile --cache-folder .yarn-cache |
177 | script: | 176 | script: |
178 | - npm run ci -- "external-plugins" | 177 | - npm run ci -- "external-plugins" |