diff options
author | Chocobozzz <me@florianbigard.com> | 2020-02-17 09:03:49 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-02-17 09:03:49 +0100 |
commit | 1d17d86349fd2b3a9bc85145d02383ba4aea4dc0 (patch) | |
tree | 8f6e7138123b8f7c46d618f9695c30a39f16e111 /.gitlab-ci.yml | |
parent | a30a136c9896c656cab98d2c92cde32c534dc098 (diff) | |
parent | 45de2dfcb5b3d56f0bc978b25b9746354890262e (diff) | |
download | PeerTube-1d17d86349fd2b3a9bc85145d02383ba4aea4dc0.tar.gz PeerTube-1d17d86349fd2b3a9bc85145d02383ba4aea4dc0.tar.zst PeerTube-1d17d86349fd2b3a9bc85145d02383ba4aea4dc0.zip |
Merge branch 'open-api-clients' into develop
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: |