Make test jobs interruptible

This commit is contained in:
Eliot Berriot 2019-09-23 11:15:32 +02:00
parent f7a05bda03
commit ef50927fe9
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
1 changed files with 6 additions and 0 deletions

View File

@ -18,6 +18,7 @@ stages:
- deploy
review_front:
interruptible: true
stage: review
image: node:11
when: manual
@ -57,6 +58,7 @@ review_front:
url: http://$CI_PROJECT_NAMESPACE.pages.funkwhale.audio/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/front-review/index.html
review_docs:
interruptible: true
stage: review
when: manual
allow_failure: true
@ -89,6 +91,7 @@ review_docs:
url: http://$CI_PROJECT_NAMESPACE.pages.funkwhale.audio/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/docs-review/index.html
black:
interruptible: true
image: python:3.6
stage: lint
variables:
@ -99,6 +102,7 @@ black:
- black --check --diff api/
flake8:
interruptible: true
image: python:3.6
stage: lint
variables:
@ -113,6 +117,7 @@ flake8:
- "$PIP_CACHE_DIR"
test_api:
interruptible: true
services:
- postgres:11
- redis:3
@ -141,6 +146,7 @@ test_api:
- docker
test_front:
interruptible: true
stage: test
image: node:11
before_script: