Skip to content

Commit

Permalink
fix(build): allow long-running jobs to be interrupted
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Mar 19, 2023
1 parent 27bd10d commit 641456f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitlab-ci.yml
Expand Up @@ -27,6 +27,7 @@ stages:
paths:
- gui/node_modules/
policy: pull-push
interruptible: true

.build-oci:
extends:
Expand All @@ -48,6 +49,7 @@ stages:
DOCKER_TLS_CERTDIR: "/shared/docker"
DOCKER_TLS_VERIFY: 1
VERSION_TAG: "${CI_COMMIT_REF_SLUG}"
interruptible: true

.build-python:
extends:
Expand All @@ -62,6 +64,7 @@ stages:
policy: pull-push
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
interruptible: true

.build-curl:
extends:
Expand Down Expand Up @@ -172,6 +175,7 @@ package-api-twine:
paths:
- .cache/pip
policy: pull-push
interruptible: false

package-api-twine-dry:
extends:
Expand Down Expand Up @@ -203,6 +207,7 @@ package-gui-npm:
expire_in: 7 days
paths:
- "$CI_PROJECT_DIR/*.tgz"
interruptible: false

package-gui-npm-dry:
extends:
Expand Down

0 comments on commit 641456f

Please sign in to comment.