Fix gitlab ci tests postgresql
This commit is contained in:
parent
295928a335
commit
18e09bbb6b
|
@ -160,8 +160,8 @@ test-external-plugins:
|
||||||
- name: rroemhild/test-openldap
|
- name: rroemhild/test-openldap
|
||||||
alias: ldap
|
alias: ldap
|
||||||
variables:
|
variables:
|
||||||
POSTGRES_USER: postgres
|
POSTGRES_USER: peertube
|
||||||
POSTGRES_PASSWORD: ""
|
POSTGRES_PASSWORD: "peertube"
|
||||||
POSTGRES_HOST_AUTH_METHOD: trust
|
POSTGRES_HOST_AUTH_METHOD: trust
|
||||||
REDIS_HOST: redis
|
REDIS_HOST: redis
|
||||||
artifacts:
|
artifacts:
|
||||||
|
@ -172,7 +172,6 @@ test-external-plugins:
|
||||||
before_script:
|
before_script:
|
||||||
- 'sed -i -z "s/database:\n hostname: ''localhost''/database:\n hostname: ''postgres''/" config/test.yaml'
|
- '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'
|
- '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
|
- NOCLIENT=1 yarn install --pure-lockfile --cache-folder .yarn-cache
|
||||||
script:
|
script:
|
||||||
- npm run ci -- "external-plugins"
|
- npm run ci -- "external-plugins"
|
||||||
|
|
Loading…
Reference in New Issue