mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 11:11:30 -04:00
Export shadow logs as an artifact for debugging
This commit is contained in:
parent
b3b03d1a56
commit
f95babc1e1
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
- |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue