From 9de3618cdccc19b5e8070386f189f6abf09ddd04 Mon Sep 17 00:00:00 2001 From: Andy Doan Date: Thu, 12 Dec 2024 11:32:02 -0600 Subject: [PATCH] ci: Update upload logic to use new streaming support The file server now has a way to stream progress if the client side has logic. This should help with 2 things: * better live debug * less 503 errors that happen due to the server taking too long to deliver its status code Signed-off-by: Andy Doan --- .github/workflows/build-yocto.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-yocto.yml b/.github/workflows/build-yocto.yml index 82d73de4..97c645eb 100644 --- a/.github/workflows/build-yocto.yml +++ b/.github/workflows/build-yocto.yml @@ -107,8 +107,20 @@ jobs: url="https://quic-yocto-fileserver-1029608027416.us-central1.run.app/${GITHUB_RUN_ID}/${{ matrix.machine }}/" retries=3 + okay=0 + shopt -s lastpipe # allows us to capture the value of `okay` in the while loop below for ((i=0; i