diff options
author | Chocobozzz <me@florianbigard.com> | 2020-07-30 16:58:32 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-07-31 11:32:04 +0200 |
commit | f9d2deae3a826b2f3fdcb6d0b29ef06f21a93c61 (patch) | |
tree | e1c1cdb0efaf123f0213b9695740933d4cd3869c /.gitlab-ci.yml | |
parent | a613eea4c3987f5a2fba729a24ecaf2373624194 (diff) | |
download | PeerTube-f9d2deae3a826b2f3fdcb6d0b29ef06f21a93c61.tar.gz PeerTube-f9d2deae3a826b2f3fdcb6d0b29ef06f21a93c61.tar.zst PeerTube-f9d2deae3a826b2f3fdcb6d0b29ef06f21a93c61.zip |
Correctly test ldap
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3891187e8..358257209 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml | |||
@@ -1,11 +1,8 @@ | |||
1 | image: chocobozzz/peertube-ci:10 | 1 | image: chocobozzz/peertube-ci:10 |
2 | 2 | ||
3 | stages: | 3 | stages: |
4 | - build-and-lint | ||
5 | - test | ||
6 | - clients | 4 | - clients |
7 | - docker-nightly | 5 | - docker-nightly |
8 | - external-plugins | ||
9 | 6 | ||
10 | cache: | 7 | cache: |
11 | key: yarn | 8 | key: yarn |
@@ -74,30 +71,3 @@ build-docker-master: | |||
74 | - master | 71 | - master |
75 | variables: | 72 | variables: |
76 | DOCKER_IMAGE_NAME: chocobozzz/peertube:production-buster | 73 | DOCKER_IMAGE_NAME: chocobozzz/peertube:production-buster |
77 | |||
78 | test-external-plugins: | ||
79 | stage: external-plugins | ||
80 | only: | ||
81 | - schedules | ||
82 | services: | ||
83 | - name: postgres:9.6 | ||
84 | alias: postgres | ||
85 | - name: redis:latest | ||
86 | alias: redis | ||
87 | - name: rroemhild/test-openldap | ||
88 | alias: ldap | ||
89 | variables: | ||
90 | POSTGRES_USER: peertube | ||
91 | POSTGRES_HOST_AUTH_METHOD: trust | ||
92 | REDIS_HOST: redis | ||
93 | artifacts: | ||
94 | expire_in: 1 day | ||
95 | paths: | ||
96 | - test*/logs | ||
97 | when: always | ||
98 | before_script: | ||
99 | - 'sed -i -z "s/database:\n hostname: ''localhost''/database:\n hostname: ''postgres''/" config/test.yaml' | ||
100 | - 'sed -i -z "s/redis:\n hostname: ''localhost''/redis:\n hostname: ''redis''/" config/test.yaml' | ||
101 | - NOCLIENT=1 yarn install --pure-lockfile --cache-folder .yarn-cache | ||
102 | script: | ||
103 | - PGHOST=postgres PGUSER=peertube npm run ci -- "external-plugins" | ||