Skip to content

Commit b6f8f83

Browse files
committed
qa: enable the git clone debug logs
Fixes: https://tracker.ceph.com/issues/66991 Signed-off-by: Xiubo Li <[email protected]>
1 parent 1d25782 commit b6f8f83

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

qa/workunits/fs/snaps/snaptest-git-ceph.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ sudo git config --global http.postBuffer 1024MB # default is 1MB
88
sudo git config --global http.maxRequestBuffer 100M # default is 10MB
99
sudo git config --global core.compression 0
1010

11+
# enable the debug logs for git clone
12+
export GIT_TRACE_PACKET=1
13+
export GIT_TRACE=1
14+
export GIT_CURL_VERBOSE=1
15+
1116
# try it again if the clone is slow and the second time
1217
retried=false
1318
trap -- 'retry' EXIT
@@ -21,6 +26,11 @@ timeout 1800 git clone https://git.ceph.com/ceph.git
2126
trap - EXIT
2227
cd ceph
2328

29+
# disable the debug logs for git clone
30+
export GIT_TRACE_PACKET=0
31+
export GIT_TRACE=0
32+
export GIT_CURL_VERBOSE=0
33+
2434
versions=`seq 1 90`
2535

2636
for v in $versions

0 commit comments

Comments
 (0)