]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
gh actions: build-packages and builder on ubuntu-22 runners
authorromeroalx <alexis.romero@open-xchange.com>
Wed, 22 May 2024 03:40:34 +0000 (05:40 +0200)
committerromeroalx <alexis.romero@open-xchange.com>
Tue, 4 Jun 2024 08:09:26 +0000 (10:09 +0200)
.github/workflows/build-packages.yml
.github/workflows/builder.yml

index 127acc635ba417a4ec10e616d85966e1b04cc562..d226d86e8655d1f5a05fcac6161980cd4b09bfc7 100644 (file)
@@ -48,7 +48,7 @@ permissions: # least privileges, see https://docs.github.com/en/actions/using-wo
 jobs:
   prepare:
     name: generate OS list
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-22.04
     outputs:
       oslist: ${{ steps.get-oslist.outputs.oslist }}
     steps:
@@ -61,8 +61,7 @@ jobs:
   build:
     needs: prepare
     name: build ${{ inputs.product }} (${{ inputs.ref }}) for ${{ matrix.os }}
-    # on a ubuntu-20.04 VM
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-22.04
     strategy:
       matrix:
         os: ${{fromJson(needs.prepare.outputs.oslist)}}
@@ -141,7 +140,7 @@ jobs:
   check-hashes:
     needs: build
     name: Check if hashes were created for all requested targets
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-22.04
     steps:
       - name: Get list of outputs from build jobs
         run: echo '${{ toJSON(needs.build.outputs) }}' | jq 'keys[]' | grep -v version | tee /tmp/build-outputs.txt
@@ -182,7 +181,7 @@ jobs:
   upload-provenance:
     needs: [prepare, build, provenance-src, provenance-pkgs]
     name: Upload the provenance artifacts to downloads.powerdns.com
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-22.04
     strategy:
       matrix:
         os: ${{fromJson(needs.prepare.outputs.oslist)}}
index 759229824548012c24b4cf11f9e95e8be745b513..43cfc9e39b256c59ecb951f13ec945f94fec7ebd 100644 (file)
@@ -19,8 +19,7 @@ jobs:
   build:
     name: build.sh
     if: ${{ vars.SCHEDULED_JOBS_BUILDER }}
-    # on a ubuntu-20.04 VM
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-22.04
     strategy:
       matrix:
         product: ['authoritative', 'recursor', 'dnsdist']