File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed
Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1616 key : ${{ secrets.INTEROP_SEEMANN_IO_SSH_KEY }}
1717 script : |
1818 delete_oldest_folder() {
19- OLDEST_DIR=$(find "${{ vars.LOG_DIR }}" -mindepth 1 -maxdepth 1 -type d -printf '%T+ %p\n' | sort | head -n 1 | cut -d" " -f2-)
19+ OLDEST_DIR=$(find "${{ vars.LOG_DIR_QUIC }}" -mindepth 1 -maxdepth 1 -type d -printf '%T+ %p\n' | sort | head -n 1 | cut -d" " -f2-)
2020 if [[ -n "$OLDEST_DIR" ]]; then
2121 echo "Deleting oldest directory: $OLDEST_DIR"
2222 rm -rf "$OLDEST_DIR"
2525
2626 # Loop until enough space is available or no directories left to delete
2727 while true; do
28- AVAILABLE_SPACE_GB=$(df -BG "${{ vars.LOG_DIR }}" | tail -n 1 | awk '{print $4}' | sed 's/G//')
28+ AVAILABLE_SPACE_GB=$(df -BG "${{ vars.LOG_DIR_QUIC }}" | tail -n 1 | awk '{print $4}' | sed 's/G//')
2929 echo "Available Space: $AVAILABLE_SPACE_GB GB"
3030
3131 if [[ "$AVAILABLE_SPACE_GB" -lt 50 ]]; then
3838 done
3939
4040 TEMP_FILE=$(mktemp)
41- find "${{ vars.LOG_DIR }}" -mindepth 1 -maxdepth 1 -type d -not -name 'lost+found' -exec basename {} \; | sort > "$TEMP_FILE"
42- jq -R -s 'split("\n") | map(select(. != ""))' "$TEMP_FILE" > "${{ vars.LOG_DIR }}/logs.json"
41+ find "${{ vars.LOG_DIR_QUIC }}" -mindepth 1 -maxdepth 1 -type d -not -name 'lost+found' -exec basename {} \; | sort > "$TEMP_FILE"
42+ jq -R -s 'split("\n") | map(select(. != ""))' "$TEMP_FILE" > "${{ vars.LOG_DIR_QUIC }}/logs.json"
4343 rm -f "$TEMP_FILE"
Original file line number Diff line number Diff line change 9191 with :
9292 switches : -avzr --relative
9393 path : logs/./${{ inputs.server }}_${{ matrix.client }}/
94- remote_path : ${{ vars.LOG_DIR }}/${{ inputs.logname }}
94+ remote_path : ${{ vars.LOG_DIR_QUIC }}/${{ inputs.logname }}
9595 remote_host : interop.seemann.io
9696 remote_user : ${{ secrets.INTEROP_SEEMANN_IO_USER }}
9797 remote_key : ${{ secrets.INTEROP_SEEMANN_IO_SSH_KEY }}
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ jobs:
150150 with :
151151 switches : -avzr
152152 path : result.json
153- remote_path : ${{ vars.LOG_DIR }}/${{ needs.config.outputs.logname }}/
153+ remote_path : ${{ vars.LOG_DIR_QUIC }}/${{ needs.config.outputs.logname }}/
154154 remote_host : interop.seemann.io
155155 remote_user : ${{ secrets.INTEROP_SEEMANN_IO_USER }}
156156 remote_key : ${{ secrets.INTEROP_SEEMANN_IO_SSH_KEY }}
@@ -163,7 +163,7 @@ jobs:
163163 key : ${{ secrets.INTEROP_SEEMANN_IO_SSH_KEY }}
164164 envs : LOGNAME
165165 script : |
166- cd ${{ vars.LOG_DIR }}
166+ cd ${{ vars.LOG_DIR_QUIC }}
167167 jq '. += [ "${{ needs.config.outputs.logname }}" ]' logs.json | sponge logs.json
168168 rm latest || true
169169 ln -s $LOGNAME latest
Original file line number Diff line number Diff line change 2424 a . className = "btn btn-xs btn-" + color_type [ res ] + " " + res + " test-" + text . toLowerCase ( ) ;
2525 var ttip_target = a ;
2626 if ( res !== "unsupported" ) {
27- a . href = "logs/" + log_dir + "/" + server + "_" + client + "/" + test ;
27+ a . href = "logs/quic/ " + log_dir + "/" + server + "_" + client + "/" + test ;
2828 a . target = "_blank" ;
2929 ttip += "<br><br>(Click for logs.)" ;
3030 } else {
272272 document . getElementById ( "run-selection-msg" ) . innerHTML = "" ;
273273 var xhr = new XMLHttpRequest ( ) ;
274274 xhr . responseType = 'json' ;
275- xhr . open ( 'GET' , 'logs/' + dir + '/result.json' ) ;
275+ xhr . open ( 'GET' , 'logs/quic/ ' + dir + '/result.json' ) ;
276276 xhr . onreadystatechange = function ( ) {
277277 if ( xhr . readyState !== XMLHttpRequest . DONE ) return ;
278278 if ( xhr . status !== 200 ) {
308308 // enable loading of old runs
309309 var xhr = new XMLHttpRequest ( ) ;
310310 xhr . responseType = 'json' ;
311- xhr . open ( 'GET' , 'logs/logs.json' ) ;
311+ xhr . open ( 'GET' , 'logs/quic/ logs.json' ) ;
312312 xhr . onreadystatechange = function ( ) {
313313 if ( xhr . readyState !== XMLHttpRequest . DONE ) return ;
314314 if ( xhr . status !== 200 ) {
You can’t perform that action at this time.
0 commit comments