Skip to content

Commit 052adc1

Browse files
committed
ci: debos: Update OS packages first
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 <loic.minier@oss.qualcomm.com>
1 parent 8e57086 commit 052adc1

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/debos.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,15 @@ jobs:
4040
with:
4141
fetch-depth: 0
4242

43+
# make sure we have latest packages first, to get latest fixes and to
44+
# avoid an automated update while we're building
45+
- name: Update OS packages
46+
run: |
47+
set -x
48+
sudo apt update
49+
sudo apt -y upgrade
50+
sudo apt -y full-upgrade
51+
4352
# this is the default in our self-hosted runners
4453
- name: Make sure Incus is setup
4554
run: |

0 commit comments

Comments
 (0)