Skip to content

A peer-to-peer stack for code collaboration

Print debugging info when e2e tests fail

Thomas Scholtesd5b5be64a8b6
diff --git a/cloudbuild.yaml b/cloudbuild.yaml
index e69b0ba..a129995 100644
--- a/cloudbuild.yaml
+++ b/cloudbuild.yaml
@@ -206,7 +206,12 @@ steps:
stack exec -- rad-daemon-radicle &
- stack test :e2e
+ stack test :e2e || {
+ # Get some debugging information from the IPFS container
+ docker exec test_ipfs-test-network_1 ipfs swarm peers
+ docker logs test_ipfs-test-network_1
+ false
+ }
- id: "Package"
waitFor: