From: Otto Moerbeek Date: Tue, 29 Apr 2025 08:59:53 +0000 (+0200) Subject: auth-4.9.x: move to Ubuntu 24 for package build and other CI X-Git-Tag: auth-4.9.5^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa895be448fe08d62dcdedf499ff89cb42c6fc7a;p=thirdparty%2Fpdns.git auth-4.9.x: move to Ubuntu 24 for package build and other CI --- diff --git a/.github/workflows/build-packages.yml b/.github/workflows/build-packages.yml index 13ab3a36b3..bb613266c5 100644 --- a/.github/workflows/build-packages.yml +++ b/.github/workflows/build-packages.yml @@ -47,7 +47,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-24.04 outputs: oslist: ${{ steps.get-oslist.outputs.oslist }} steps: @@ -60,8 +60,8 @@ jobs: build: needs: prepare name: build ${{ inputs.product }} (${{ inputs.ref }}) for ${{ matrix.os }} - # on a ubuntu-20.04 VM - runs-on: ubuntu-20.04 + # on a ubuntu-24.04 VM + runs-on: ubuntu-24.04 strategy: matrix: os: ${{fromJson(needs.prepare.outputs.oslist)}} @@ -139,7 +139,7 @@ jobs: check-hashes: needs: build name: Check if hashes were created for all requested targets - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.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 @@ -180,7 +180,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-24.04 strategy: matrix: os: ${{fromJson(needs.prepare.outputs.oslist)}} diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index 1e085ff219..fc3c567977 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-24.04 VM + runs-on: ubuntu-24.04 strategy: matrix: product: ['authoritative'] diff --git a/.github/workflows/formatting.yml b/.github/workflows/formatting.yml index cedeef1269..5ecb25d032 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-24.04 VM + runs-on: ubuntu-24.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 afcf8898ab..182013c75c 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-24.04 steps: - uses: actions/checkout@v4 with: