]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
auth-4.7.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 23:43:35 +0000 (01:43 +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

index eeeec1d92e5ac2398aadc9d8e032dd4e359bd6ce..9ebae49b8dbf4ebfdfbac6a08c28a607207f247b 100644 (file)
@@ -20,7 +20,7 @@ permissions: # least privileges, see https://docs.github.com/en/actions/using-wo
 jobs:
   build-auth:
     name: 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
@@ -62,7 +62,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
@@ -114,7 +114,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
@@ -227,7 +227,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
@@ -250,7 +250,7 @@ jobs:
       - run: inv test-ixfrdist
 
   swagger-syntax-check:
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-22.04
     steps:
       - uses: PowerDNS/pdns/set-ubuntu-mirror@meta
       - uses: actions/checkout@v4
index fdeca1af105c0ae98cc97f80bbc8beb726d2b5f5..5ace370e040985c3c7cb472d9235013d9e2556ae 100644 (file)
@@ -19,8 +19,8 @@ permissions: # least privileges, see https://docs.github.com/en/actions/using-wo
 jobs:
   build:
     name: build ${{ github.event.inputs.product }} for ${{ github.event.inputs.os }}
-    # 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:
index 36a58af13a7fe6f48cebe203146133ea10fff8f7..8bf48dae1a67aa61e5299d552eace8f6cff8bc86 100644 (file)
@@ -18,8 +18,8 @@ permissions: # least privileges, see https://docs.github.com/en/actions/using-wo
 jobs:
   build:
     name: build.sh
-    # 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 e817c04ff93ba524acf7ad3d68c6963664705880..29ea8e678a0d1cc67275da76c13fb71a30d3b03e 100644 (file)
@@ -12,7 +12,7 @@ permissions: # least privileges, see https://docs.github.com/en/actions/using-wo
 jobs:
   analyze:
     name: Analyze
-    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