Skip to content

Commit e33e7a3

Browse files
committed
ci: add resource group to nixos tests
1 parent 3b382f1 commit e33e7a3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/gitlab-ci.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ let
5555
nixIntegrationTestBuildJob = attrPath: {
5656
"tags" = [ "native-nix" ];
5757
"stage" = "test";
58+
# The resource groups leads to integration test not running in parallel
59+
# (both intra and inter pipeline). It has turned out, that the nixos tests
60+
# are too heavyweight and run in timeouts if executed in parallel.
61+
"resource_group" = "nixos-test";
5862
"script" = [
5963
"NIX_PATH= nix build .#${attrPath}.driver"
6064
"./result/bin/nixos-test-driver"

0 commit comments

Comments
 (0)