Make test jobs interruptible
This commit is contained in:
parent
f7a05bda03
commit
ef50927fe9
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue