Skip to content

Commit 69f1da4

Browse files
committed
CI/CD jobs interruptible in pipeline (.gitlab-ci.yml)
1 parent 03d2481 commit 69f1da4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.gitlab-ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ image: registry.gitlab.com/matrixai/engineering/maintenance/gitlab-runner
99

1010
lint:
1111
stage: check
12+
interruptible: true
1213
script:
1314
- >
1415
nix-shell -I nixpkgs=./pkgs.nix --packages nodejs --run '
@@ -18,6 +19,7 @@ lint:
1819
1920
test:
2021
stage: check
22+
interruptible: true
2123
script:
2224
- >
2325
nix-shell -I nixpkgs=./pkgs.nix --packages nodejs --run '
@@ -27,12 +29,14 @@ test:
2729
2830
nix-dry:
2931
stage: check
32+
interruptible: true
3033
script:
3134
- nix-build -v -v --dry-run ./release.nix --attr application
3235
- nix-build -v -v --dry-run ./release.nix --attr docker
3336

3437
nix:
3538
stage: build
39+
interruptible: true
3640
script:
3741
- >
3842
nix-build ./release.nix

0 commit comments

Comments
 (0)