Make test jobs interruptible
This commit is contained in:
parent
f7a05bda03
commit
ef50927fe9
|
@ -18,6 +18,7 @@ stages:
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
review_front:
|
review_front:
|
||||||
|
interruptible: true
|
||||||
stage: review
|
stage: review
|
||||||
image: node:11
|
image: node:11
|
||||||
when: manual
|
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
|
url: http://$CI_PROJECT_NAMESPACE.pages.funkwhale.audio/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/front-review/index.html
|
||||||
|
|
||||||
review_docs:
|
review_docs:
|
||||||
|
interruptible: true
|
||||||
stage: review
|
stage: review
|
||||||
when: manual
|
when: manual
|
||||||
allow_failure: true
|
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
|
url: http://$CI_PROJECT_NAMESPACE.pages.funkwhale.audio/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/docs-review/index.html
|
||||||
|
|
||||||
black:
|
black:
|
||||||
|
interruptible: true
|
||||||
image: python:3.6
|
image: python:3.6
|
||||||
stage: lint
|
stage: lint
|
||||||
variables:
|
variables:
|
||||||
|
@ -99,6 +102,7 @@ black:
|
||||||
- black --check --diff api/
|
- black --check --diff api/
|
||||||
|
|
||||||
flake8:
|
flake8:
|
||||||
|
interruptible: true
|
||||||
image: python:3.6
|
image: python:3.6
|
||||||
stage: lint
|
stage: lint
|
||||||
variables:
|
variables:
|
||||||
|
@ -113,6 +117,7 @@ flake8:
|
||||||
- "$PIP_CACHE_DIR"
|
- "$PIP_CACHE_DIR"
|
||||||
|
|
||||||
test_api:
|
test_api:
|
||||||
|
interruptible: true
|
||||||
services:
|
services:
|
||||||
- postgres:11
|
- postgres:11
|
||||||
- redis:3
|
- redis:3
|
||||||
|
@ -141,6 +146,7 @@ test_api:
|
||||||
- docker
|
- docker
|
||||||
|
|
||||||
test_front:
|
test_front:
|
||||||
|
interruptible: true
|
||||||
stage: test
|
stage: test
|
||||||
image: node:11
|
image: node:11
|
||||||
before_script:
|
before_script:
|
||||||
|
|
Loading…
Reference in New Issue