mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 13:45:04 +02:00
GitHub Actions: Build Raspbian on Ubuntu 22.04
Raspbian builds were running on Ubuntu 20.04 but with qemu-user-static from Ubuntu 21.10 (impish) due to need for newer features. However, the impish package repos are no longer available as that version reached its EOL. ubuntu-latest still refers to 20.04 on GitHub Actions but 22.04 is already available when explicitly specified. This commit switches the build over to that version and removes the workaround.
This commit is contained in:
parent
af63e300f3
commit
d0c44810a4
6
.github/workflows/raspbian.yml
vendored
6
.github/workflows/raspbian.yml
vendored
@ -18,7 +18,7 @@ jobs:
|
|||||||
- buster
|
- buster
|
||||||
- bullseye
|
- bullseye
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04 # revert back to ubuntu-latest once that is 22.04 or later
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Cancel previous jobs for the same PR
|
- name: Cancel previous jobs for the same PR
|
||||||
@ -34,10 +34,6 @@ jobs:
|
|||||||
- name: qemu-user-static
|
- name: qemu-user-static
|
||||||
run: |
|
run: |
|
||||||
set -exo pipefail
|
set -exo pipefail
|
||||||
. /etc/os-release
|
|
||||||
if [ "$VERSION_ID" = 20.04 ]; then
|
|
||||||
sudo perl -pi -e s/focal/impish/g /etc/apt/sources.list
|
|
||||||
fi
|
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
DEBIAN_FRONTEND=noninteractive sudo apt-get install -y qemu-user-static
|
DEBIAN_FRONTEND=noninteractive sudo apt-get install -y qemu-user-static
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user