diff options
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e9c1898f3..64c818476 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml | |||
@@ -3,6 +3,7 @@ image: chocobozzz/peertube-ci:10 | |||
3 | stages: | 3 | stages: |
4 | - build-and-lint | 4 | - build-and-lint |
5 | - test | 5 | - test |
6 | - clients | ||
6 | - docker-nightly | 7 | - docker-nightly |
7 | 8 | ||
8 | #before_script: | 9 | #before_script: |
@@ -84,6 +85,21 @@ cache: | |||
84 | # script: | 85 | # script: |
85 | # - NODE_PENDING_JOB_WAIT=1000 npm run ci -- api-$CI_NODE_INDEX | 86 | # - NODE_PENDING_JOB_WAIT=1000 npm run ci -- api-$CI_NODE_INDEX |
86 | 87 | ||
88 | build-openapi-clients: | ||
89 | stage: clients | ||
90 | only: | ||
91 | refs: | ||
92 | - master | ||
93 | - schedules | ||
94 | changes: | ||
95 | - support/doc/api/openapi.yaml | ||
96 | script: | ||
97 | - apt-get update -qq | ||
98 | - apt-get -yqqq install openjdk-8-jre | ||
99 | - yarn install --pure-lockfile | ||
100 | - scripts/openapi-peertube-version.sh | ||
101 | - scripts/openapi-clients.sh | ||
102 | |||
87 | build-nightly: | 103 | build-nightly: |
88 | stage: docker-nightly | 104 | stage: docker-nightly |
89 | only: | 105 | only: |