From dc28fa8c7f902a67455c957044d8fd178d7f6b4c Mon Sep 17 00:00:00 2001 From: Stephan Linz Date: Sat, 14 Oct 2023 11:44:50 +0200 Subject: [PATCH] ci: git: fix "Error in the HTTP2 framing layer" For unknown reasons, the local development host and CI is running in temporary "Error in the HTTP2 framing layer". Forcing the historical but still supported HTTP/1.1 layer seems to be a stable workaround - happened in Oct. 2023. Signed-off-by: Stephan Linz --- .github/workflows/doc-build.yml | 8 ++++++++ .github/workflows/qa-compliance.yml | 8 ++++++++ .github/workflows/qa-integration.yml | 24 ++++++++++++++++++++++++ 3 files changed, 40 insertions(+) diff --git a/.github/workflows/doc-build.yml b/.github/workflows/doc-build.yml index b0a0922268..49c74599fc 100644 --- a/.github/workflows/doc-build.yml +++ b/.github/workflows/doc-build.yml @@ -48,6 +48,14 @@ jobs: runs-on: ubuntu-latest steps: + - name: Apply container HTTP/2 framing layer workaround + run: | + # FIXME: For unknown reasons, the local development host and CI is + # running in temporary "Error in the HTTP2 framing layer". + # Forcing the historical but still supported HTTP/1.1 layer + # seems to be a stable workaround - happened in Oct. 2023. + git config --global --add http.version HTTP/1.1 + - name: Update GitHub PATH for west run: | echo "$HOME/.local/bin" >> $GITHUB_PATH diff --git a/.github/workflows/qa-compliance.yml b/.github/workflows/qa-compliance.yml index 88fbe8af18..881f88e31b 100644 --- a/.github/workflows/qa-compliance.yml +++ b/.github/workflows/qa-compliance.yml @@ -14,6 +14,14 @@ jobs: runs-on: ubuntu-latest steps: + - name: Apply container HTTP/2 framing layer workaround + run: | + # FIXME: For unknown reasons, the local development host and CI is + # running in temporary "Error in the HTTP2 framing layer". + # Forcing the historical but still supported HTTP/1.1 layer + # seems to be a stable workaround - happened in Oct. 2023. + git config --global --add http.version HTTP/1.1 + - name: Update GitHub PATH for west run: | echo "$HOME/.local/bin" >> $GITHUB_PATH diff --git a/.github/workflows/qa-integration.yml b/.github/workflows/qa-integration.yml index a832611ab1..ad490c1a8a 100644 --- a/.github/workflows/qa-integration.yml +++ b/.github/workflows/qa-integration.yml @@ -55,6 +55,14 @@ jobs: # GitHub comes up with a fundamental fix for this problem. git config --global --add safe.directory ${GITHUB_WORKSPACE} + - name: Apply container HTTP/2 framing layer workaround + run: | + # FIXME: For unknown reasons, the local development host and CI is + # running in temporary "Error in the HTTP2 framing layer". + # Forcing the historical but still supported HTTP/1.1 layer + # seems to be a stable workaround - happened in Oct. 2023. + git config --global --add http.version HTTP/1.1 + - name: Update GitHub PATH for west run: | echo "$HOME/.local/bin" >> $GITHUB_PATH @@ -156,6 +164,14 @@ jobs: # GitHub comes up with a fundamental fix for this problem. git config --global --add safe.directory ${GITHUB_WORKSPACE} + - name: Apply container HTTP/2 framing layer workaround + run: | + # FIXME: For unknown reasons, the local development host and CI is + # running in temporary "Error in the HTTP2 framing layer". + # Forcing the historical but still supported HTTP/1.1 layer + # seems to be a stable workaround - happened in Oct. 2023. + git config --global --add http.version HTTP/1.1 + - name: Update GitHub PATH for west run: | echo "$HOME/.local/bin" >> $GITHUB_PATH @@ -269,6 +285,14 @@ jobs: board: [tiac_magpie] steps: + - name: Apply container HTTP/2 framing layer workaround + run: | + # FIXME: For unknown reasons, the local development host and CI is + # running in temporary "Error in the HTTP2 framing layer". + # Forcing the historical but still supported HTTP/1.1 layer + # seems to be a stable workaround - happened in Oct. 2023. + git config --global --add http.version HTTP/1.1 + - name: Update GitHub PATH for west run: | echo "$HOME/.local/bin" >> $GITHUB_PATH