aboutsummaryrefslogtreecommitdiff
path: root/.woodpecker
diff options
context:
space:
mode:
authorAlex <lx@deuxfleurs.fr>2025-02-01 18:58:15 +0000
committerAlex <lx@deuxfleurs.fr>2025-02-01 18:58:15 +0000
commit4dc2bc337f10be616a141ba8b52564038ef3ae41 (patch)
treeb1ea889165be901954b6aa3b22c44703a1dc43b0 /.woodpecker
parentd601f311865b8159a7bf1801dd8f43021d0b443b (diff)
parent5dd2791981ccdc5b6d1c0a332aca3367d66fc685 (diff)
downloadgarage-4dc2bc337f10be616a141ba8b52564038ef3ae41.tar.gz
garage-4dc2bc337f10be616a141ba8b52564038ef3ae41.zip
Merge pull request 'woodpecker: use parallel nix-build in debug builds' (#949) from nix-parallel into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/949
Diffstat (limited to '.woodpecker')
-rw-r--r--.woodpecker/debug.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.woodpecker/debug.yaml b/.woodpecker/debug.yaml
index 59b139fd..c0f8eb91 100644
--- a/.woodpecker/debug.yaml
+++ b/.woodpecker/debug.yaml
@@ -16,7 +16,7 @@ steps:
- name: build
image: nixpkgs/nix:nixos-22.05
commands:
- - nix-build --no-build-output --attr pkgs.amd64.debug --argstr git_version ${CI_COMMIT_TAG:-$CI_COMMIT_SHA}
+ - nix-build -j4 --no-build-output --attr pkgs.amd64.debug --argstr git_version ${CI_COMMIT_TAG:-$CI_COMMIT_SHA}
- name: unit + func tests
image: nixpkgs/nix:nixos-22.05
@@ -24,7 +24,7 @@ steps:
GARAGE_TEST_INTEGRATION_EXE: result-bin/bin/garage
GARAGE_TEST_INTEGRATION_PATH: tmp-garage-integration
commands:
- - nix-build --no-build-output --attr test.amd64 --argstr git_version ${CI_COMMIT_TAG:-$CI_COMMIT_SHA}
+ - nix-build -j4 --no-build-output --attr test.amd64 --argstr git_version ${CI_COMMIT_TAG:-$CI_COMMIT_SHA}
- ./result/bin/garage_db-*
- ./result/bin/garage_api_common-*
- ./result/bin/garage_api_s3-*
@@ -45,5 +45,5 @@ steps:
- name: integration tests
image: nixpkgs/nix:nixos-22.05
commands:
- - nix-build --no-build-output --attr pkgs.amd64.debug --argstr git_version ${CI_COMMIT_TAG:-$CI_COMMIT_SHA}
+ - nix-build -j4 --no-build-output --attr pkgs.amd64.debug --argstr git_version ${CI_COMMIT_TAG:-$CI_COMMIT_SHA}
- nix-shell --attr ci --run ./script/test-smoke.sh || (cat /tmp/garage.log; false)