aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-06-09 11:48:43 +0200
committerAlex Auvolat <alex@adnab.me>2023-06-09 12:03:44 +0200
commit906fe78b240b23a58e37468283eeca89e05798bb (patch)
treea409a5bef1648b73a9e4ded701ad1d48782bca9f
parent8a74e1c2bd7f202dfaa55ecc16a91ad84812fff9 (diff)
downloadgarage-906fe78b240b23a58e37468283eeca89e05798bb.tar.gz
garage-906fe78b240b23a58e37468283eeca89e05798bb.zip
Integration tests: print logs when fails
-rw-r--r--.drone.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.drone.yml b/.drone.yml
index c219c414..04663a22 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -20,6 +20,7 @@ steps:
image: nixpkgs/nix:nixos-22.05
environment:
GARAGE_TEST_INTEGRATION_EXE: result-bin/bin/garage
+ GARAGE_TEST_INTEGRATION_PATH: tmp-garage-integration
commands:
- nix-build --no-build-output --attr clippy.amd64 --argstr git_version ${DRONE_TAG:-$DRONE_COMMIT}
- nix-build --no-build-output --attr test.amd64
@@ -31,8 +32,9 @@ steps:
- ./result/bin/garage_util-*
- ./result/bin/garage_web-*
- ./result/bin/garage-*
- - ./result/bin/integration-*
+ - ./result/bin/integration-* || (cat tmp-garage-integration/stderr.log; false)
- rm result
+ - rm -rv tmp-garage-integration
- name: integration tests
image: nixpkgs/nix:nixos-22.05
@@ -283,6 +285,6 @@ trigger:
---
kind: signature
-hmac: ac09a5a8c82502f67271f93afa1e1e21ce66383b8e24a6deb26b285cc1c378ba
+hmac: 24aebbcdba84fd0cdf963061d7bb72ae5b915bfdd0f50c7b019001126fb7fa56
...