From 0a4e41d0fadbbc6b630660a06a930b0ac06e8f0c Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Thu, 2 Mar 2023 14:53:34 -0800 Subject: [PATCH] Ubuntu 22.04 integration: GitHub workflows - GitHub workflows are run on Ubuntu 22.04 - Extract the `checkstyle` workflow dependencies to a separate file. - Refresh the `build-dependencies.txt` list. Notes: Partial check pick of 9e7fc5da380. This change does not include the build-dependencies.txt or checkstyle-dependencies.txt changes. Reviewed-by: Brian Behlendorf Reviewed-by: Richard Yao Reviewed-by: George Melikov Signed-off-by: szubersk Closes #14148 --- .github/workflows/checkstyle.yaml | 3 ++- .github/workflows/zfs-tests-functional.yml | 3 ++- .github/workflows/zfs-tests-sanity.yml | 3 ++- .github/workflows/zloop.yml | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/checkstyle.yaml b/.github/workflows/checkstyle.yaml index 7b50626259..0b7b82fc19 100644 --- a/.github/workflows/checkstyle.yaml +++ b/.github/workflows/checkstyle.yaml @@ -6,7 +6,7 @@ on: jobs: checkstyle: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 with: @@ -14,6 +14,7 @@ jobs: - name: Install dependencies run: | sudo apt-get update + sudo apt-get -qq upgrade sudo apt-get install --yes -qq build-essential autoconf libtool gawk alien fakeroot linux-headers-$(uname -r) sudo apt-get install --yes -qq zlib1g-dev uuid-dev libattr1-dev libblkid-dev libselinux-dev libudev-dev libssl-dev python-dev python-setuptools python-cffi python3 python3-dev python3-setuptools python3-cffi # packages for tests diff --git a/.github/workflows/zfs-tests-functional.yml b/.github/workflows/zfs-tests-functional.yml index c2a8dec996..a3913b531f 100644 --- a/.github/workflows/zfs-tests-functional.yml +++ b/.github/workflows/zfs-tests-functional.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - os: [20.04] + os: [20.04, 22.04] runs-on: ubuntu-${{ matrix.os }} steps: - uses: actions/checkout@v3 @@ -18,6 +18,7 @@ jobs: - name: Install dependencies run: | sudo apt-get update + sudo apt-get -qq upgrade sudo apt-get install --yes -qq build-essential autoconf libtool gdb lcov \ git alien fakeroot wget curl bc fio acl \ sysstat mdadm lsscsi parted gdebi attr dbench watchdog ksh \ diff --git a/.github/workflows/zfs-tests-sanity.yml b/.github/workflows/zfs-tests-sanity.yml index c563556230..34518428f6 100644 --- a/.github/workflows/zfs-tests-sanity.yml +++ b/.github/workflows/zfs-tests-sanity.yml @@ -6,7 +6,7 @@ on: jobs: tests: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 with: @@ -14,6 +14,7 @@ jobs: - name: Install dependencies run: | sudo apt-get update + sudo apt-get -qq upgrade sudo apt-get install --yes -qq build-essential autoconf libtool gdb lcov \ git alien fakeroot wget curl bc fio acl \ sysstat mdadm lsscsi parted gdebi attr dbench watchdog ksh \ diff --git a/.github/workflows/zloop.yml b/.github/workflows/zloop.yml index 1c42491ee9..b9976264bf 100644 --- a/.github/workflows/zloop.yml +++ b/.github/workflows/zloop.yml @@ -6,7 +6,7 @@ on: jobs: tests: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 env: TEST_DIR: /var/tmp/zloop steps: @@ -16,6 +16,7 @@ jobs: - name: Install dependencies run: | sudo apt-get update + sudo apt-get -qq upgrade sudo apt-get install --yes -qq build-essential autoconf libtool gdb \ git alien fakeroot \ zlib1g-dev uuid-dev libblkid-dev libselinux-dev \