aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCecylia Bocovich <cohosh@torproject.org>2024-01-06 14:08:31 -0500
committerCecylia Bocovich <cohosh@torproject.org>2024-02-27 13:41:43 -0500
commitf95babc1e11c98e1944270899353e25400841d7d (patch)
tree56a5ac58d39126841781e743994cfeadef02f68a
parentb3b03d1a56f38c7d9648c3e3b1fd241d4e3adffe (diff)
downloadsnowflake-f95babc1e11c98e1944270899353e25400841d7d.tar.gz
snowflake-f95babc1e11c98e1944270899353e25400841d7d.zip
Export shadow logs as an artifact for debugging
-rw-r--r--.gitlab-ci.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 994589b..c9d3cb4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -164,6 +164,10 @@ shadow-integration:
key: sf-integration-$SHADOW_VERSION-$TGEN_VERSION
paths:
- /opt/
+ artifacts:
+ paths:
+ - shadow.data.tar.gz
+ when: on_failure
script:
- apt-get update
- apt-get install -y git tor
@@ -219,6 +223,7 @@ shadow-integration:
- git clone --depth 1 https://github.com/cohosh/shadow-snowflake-minimal
- pushd shadow-snowflake-minimal/
- shadow --log-level=debug --model-unblocked-syscall-latency=true snowflake-minimal.yaml > shadow.log
+ - tar -czvf $CI_PROJECT_DIR/shadow.data.tar.gz shadow.data/
# Check to make sure streams succeeded
- |