Commit 9422ffe8 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

ci(optimization): allow to interruptible started jobs that can be replaced

parent c0a6f1d4556f
Pipeline #65917 canceled with stages
in 34 minutes and 39 seconds
......@@ -18,6 +18,7 @@ stages:
- deploy
flake8:
interruptible: true
rules:
- if: '$TRIGGERED_FROM_OTHER_PROJECT'
when: never
......@@ -35,6 +36,7 @@ flake8:
codequality: gl-code-quality-report.json
check-manifest:
interruptible: true
rules:
- if: '$TRIGGERED_FROM_OTHER_PROJECT'
when: never
......@@ -46,6 +48,7 @@ check-manifest:
- tox -e check-manifest
black:
interruptible: true
rules:
- if: '$TRIGGERED_FROM_OTHER_PROJECT'
when: never
......@@ -57,6 +60,7 @@ black:
- tox -e black
doc8:
interruptible: true
rules:
- if: '$TRIGGERED_FROM_OTHER_PROJECT'
when: never
......@@ -69,6 +73,7 @@ doc8:
- tox -e doc8
yamllint:
interruptible: true
rules:
- if: '$TRIGGERED_FROM_OTHER_PROJECT'
when: never
......@@ -82,6 +87,7 @@ yamllint:
- tox -e yamllint
build_doc:
interruptible: true
rules:
- if: '$TRIGGERED_FROM_OTHER_PROJECT'
when: never
......@@ -100,6 +106,7 @@ build_doc:
allow_failure: true # XXX fix me
py3-server:
interruptible: true
rules:
- if: '$TRIGGERED_FROM_OTHER_PROJECT'
when: never
......@@ -130,6 +137,7 @@ py3-server:
expire_in: 2 weeks
py3-web:
interruptible: true
rules:
- if: '$TRIGGERED_FROM_OTHER_PROJECT'
when: never
......@@ -159,6 +167,7 @@ py3-web:
expire_in: 2 weeks
py3-misc:
interruptible: true
rules:
- if: '$TRIGGERED_FROM_OTHER_PROJECT'
when: never
......@@ -188,6 +197,7 @@ py3-misc:
expire_in: 2 weeks
test-cube-skeleton:
interruptible: true
rules:
- if: '$TRIGGERED_FROM_OTHER_PROJECT'
when: never
......@@ -206,6 +216,7 @@ test-cube-skeleton:
- '[ "$(hg status | wc -l)" = 0 ]'
py3-from-forge-server:
interruptible: true
rules:
- changes:
- cubicweb/**/*
......@@ -231,6 +242,7 @@ py3-from-forge-server:
- tox -e py3-from-forge-server
py3-from-forge-web:
interruptible: true
rules:
- changes:
- cubicweb/**/*
......@@ -255,6 +267,7 @@ py3-from-forge-web:
expire_in: 2 weeks
py3-from-forge-misc:
interruptible: true
rules:
- changes:
- cubicweb/**/*
......@@ -279,6 +292,7 @@ py3-from-forge-misc:
expire_in: 2 weeks
sonarqube:
interruptible: true
stage: qa
image: sonarsource/sonar-scanner-cli
rules:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment