Skip to content
Snippets Groups Projects
Verified Commit ef50927f authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Make test jobs interruptible

parent f7a05bda
No related branches found
No related tags found
No related merge requests found
...@@ -18,6 +18,7 @@ stages: ...@@ -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: ...@@ -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: ...@@ -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: ...@@ -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: ...@@ -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: ...@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment