From: romeroalx Date: Wed, 30 Apr 2025 06:58:32 +0000 (+0200) Subject: auth-4.8.x: move to ubuntu 20 for package building and ci X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=510151828d655ed7002e174ace85b707099234f9;p=thirdparty%2Fpdns.git auth-4.8.x: move to ubuntu 20 for package building and ci --- diff --git a/.github/workflows/build-and-test-all.yml b/.github/workflows/build-and-test-all.yml index a154c0056a..1065b36a6f 100644 --- a/.github/workflows/build-and-test-all.yml +++ b/.github/workflows/build-and-test-all.yml @@ -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: | diff --git a/.github/workflows/builder-dispatch.yml b/.github/workflows/builder-dispatch.yml index 2f85596112..39f4550496 100644 --- a/.github/workflows/builder-dispatch.yml +++ b/.github/workflows/builder-dispatch.yml @@ -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)}} diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index fe41d13fb0..2bc51c5464 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -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'] diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 4d03a3953c..bd01a2189e 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -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 diff --git a/.github/workflows/formatting.yml b/.github/workflows/formatting.yml index cedeef1269..5269e96e6b 100644 --- a/.github/workflows/formatting.yml +++ b/.github/workflows/formatting.yml @@ -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 diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml index fc3317e540..605f99a52c 100644 --- a/.github/workflows/fuzz.yml +++ b/.github/workflows/fuzz.yml @@ -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 diff --git a/.github/workflows/secpoll.yml b/.github/workflows/secpoll.yml index 93253b43ac..ad33c13304 100644 --- a/.github/workflows/secpoll.yml +++ b/.github/workflows/secpoll.yml @@ -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: