]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
auth-4.8.x: move to ubuntu 20 for package building and ci
authorromeroalx <alexis.romero@open-xchange.com>
Wed, 30 Apr 2025 06:58:32 +0000 (08:58 +0200)
committerromeroalx <alexis.romero@open-xchange.com>
Tue, 6 May 2025 08:58:04 +0000 (10:58 +0200)
.github/workflows/build-and-test-all.yml
.github/workflows/builder-dispatch.yml
.github/workflows/builder.yml
.github/workflows/codeql-analysis.yml
.github/workflows/formatting.yml
.github/workflows/fuzz.yml
.github/workflows/secpoll.yml

index a154c0056ac33236332c75c98f73baabeb34da04..1065b36a6f1f2034744ce074451f63dbee949520 100644 (file)
@@ -21,7 +21,7 @@ jobs:
   build-auth:
     name: build auth
     if: ${{ !github.event.schedule || vars.SCHEDULED_JOBS_BUILD_AND_TEST_ALL }}
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-22.04
     env:
       ASAN_OPTIONS: detect_leaks=0
       FUZZING_TARGETS: yes
@@ -90,7 +90,7 @@ jobs:
 
   test-auth-api:
     needs: build-auth
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-22.04
     env:
       UBSAN_OPTIONS: "print_stacktrace=1:halt_on_error=1:suppressions=${{ github.workspace }}/build-scripts/UBSan.supp"
       ASAN_OPTIONS: detect_leaks=0
@@ -142,7 +142,7 @@ jobs:
 
   test-auth-backend:
     needs: build-auth
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-22.04
     env:
       UBSAN_OPTIONS: "print_stacktrace=1:halt_on_error=1:suppressions=${{ github.workspace }}/build-scripts/UBSan.supp"
       ASAN_OPTIONS: detect_leaks=0
@@ -255,7 +255,7 @@ jobs:
 
   test-ixfrdist:
     needs: build-auth
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-22.04
     env:
       UBSAN_OPTIONS: "print_stacktrace=1:halt_on_error=1:suppressions=${{ github.workspace }}/build-scripts/UBSan.supp"
       ASAN_OPTIONS: detect_leaks=0
@@ -279,7 +279,7 @@ jobs:
 
   swagger-syntax-check:
     if: ${{ !github.event.schedule || vars.SCHEDULED_JOBS_BUILD_AND_TEST_ALL }}
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-22.04
     steps:
       - uses: PowerDNS/pdns/set-ubuntu-mirror@meta
       - uses: actions/checkout@v4
@@ -293,7 +293,7 @@ jobs:
 
   check-clang-tidy:
     needs: [build-auth]
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-22.04
     name: Check whether clang-tidy succeeded
     steps:
     - run: |
index 2f8559611206df38b8d4b698541cf9ce39e362b3..39f4550496206008c7cab949d1ef7e91207a22d6 100644 (file)
@@ -37,7 +37,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:
@@ -51,8 +51,8 @@ jobs:
   build:
     needs: prepare
     name: build ${{ github.event.inputs.product }} (${{ github.event.inputs.ref }}) for ${{ matrix.os }}
-    # on a ubuntu-20.04 VM
-    runs-on: ubuntu-20.04
+    # on a ubuntu-22.04 VM
+    runs-on: ubuntu-22.04
     strategy:
       matrix:
         os: ${{fromJson(needs.prepare.outputs.oslist)}}
index fe41d13fb005e037fbc102abb8441dc989bafda2..2bc51c5464f3af87faba405650537492f75ccc80 100644 (file)
@@ -19,8 +19,8 @@ jobs:
   build:
     name: build.sh
     if: ${{ vars.SCHEDULED_JOBS_BUILDER }}
-    # on a ubuntu-20.04 VM
-    runs-on: ubuntu-20.04
+    # on a ubuntu-22.04 VM
+    runs-on: ubuntu-22.04
     strategy:
       matrix:
         product: ['authoritative']
index 4d03a3953c6b9a01bee98c25bf7760feb7255ae1..bd01a2189e972e6c2c05e3a29e08912c703b073b 100644 (file)
@@ -13,7 +13,7 @@ jobs:
   analyze:
     name: Analyze
     if: ${{ !github.event.schedule || vars.SCHEDULED_CODEQL_ANALYSIS }}
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-22.04
 
     permissions:
       actions: read # for github/codeql-action/init to get workflow details
index cedeef12696860e115cdc12db60b7e08fb22c383..5269e96e6bc0ee9cea86853d23559745d19ce56b 100644 (file)
@@ -11,8 +11,8 @@ permissions: # least privileges, see https://docs.github.com/en/actions/using-wo
 jobs:
   build:
     name: verify formatting and Makefile.am sort order
-    # on a ubuntu-20.04 VM
-    runs-on: ubuntu-20.04
+    # on a ubuntu-22.04 VM
+    runs-on: ubuntu-22.04
     steps:
       - uses: actions/checkout@v4
         with:
@@ -21,12 +21,7 @@ jobs:
       - name: Update dependencies
         run: |
           sudo apt-get update
-          sudo apt-get -qq --no-install-recommends install git clang-11
-      - name: Run format-code on files that should be formatted
-        run: |
-           ./build-scripts/format-code $(find . -type f -name '*.[ch][ch]' | sort | comm -23 - .not-formatted)
-           git --no-pager diff
-           exit $(git diff | wc -l)
+          sudo apt-get -qq --no-install-recommends install git
       - name: Report file names that are out of order in Makefile.am files
         run: |
            exitcode=0
index fc3317e5402ca287182fd84a0ab88a19114801ae..605f99a52c5da76493f45550fd4e5797fb084cab 100644 (file)
@@ -6,7 +6,7 @@ permissions: # least privileges, see https://docs.github.com/en/actions/using-wo
 
 jobs:
   Fuzzing:
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-22.04
     steps:
     - name: Build Fuzzers
       uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
index 93253b43ac371d9c411909e9404a46a2b5f9e722..ad33c13304628dd5bad71beb37e3cd6483f1eea6 100644 (file)
@@ -11,8 +11,8 @@ permissions: # least privileges, see https://docs.github.com/en/actions/using-wo
 jobs:
   build:
     name: check secpoll zone
-    # on a ubuntu-20.04 VM
-    runs-on: ubuntu-20.04
+    # on a ubuntu-22.04 VM
+    runs-on: ubuntu-22.04
     steps:
       - uses: actions/checkout@v4
         with: