From 052adc1c2e368a2538f04e5e8f50f99c677a57fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Minier?= Date: Fri, 28 Mar 2025 14:06:07 +0100 Subject: [PATCH] ci: debos: Update OS packages first MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit During some GitHub workflow runs, incus exec commands are randomly interrupted by: Error: websocket: close 1006 (abnormal closure): unexpected EOF It's possible that this is due to an OS update happening during the run, so pre-emptively do the updates first, which is a good idea for bug fixes and predicatibility anyway. Signed-off-by: Loïc Minier --- .github/workflows/debos.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/debos.yml b/.github/workflows/debos.yml index acac028e..ca1c8273 100644 --- a/.github/workflows/debos.yml +++ b/.github/workflows/debos.yml @@ -40,6 +40,15 @@ jobs: with: fetch-depth: 0 + # make sure we have latest packages first, to get latest fixes and to + # avoid an automated update while we're building + - name: Update OS packages + run: | + set -x + sudo apt update + sudo apt -y upgrade + sudo apt -y full-upgrade + # this is the default in our self-hosted runners - name: Make sure Incus is setup run: |