From: Otto Moerbeek Date: Fri, 10 Jan 2025 08:41:32 +0000 (+0100) Subject: Move workflow to misc-dailies and rename X-Git-Tag: dnsdist-2.0.0-alpha1~179^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a4e9495cf403a9c4de95548e6a2b4198bd43922;p=thirdparty%2Fpdns.git Move workflow to misc-dailies and rename --- diff --git a/.github/workflows/misc-dailies.yml b/.github/workflows/misc-dailies.yml index 4f5d6cf5bf..624a6a012f 100644 --- a/.github/workflows/misc-dailies.yml +++ b/.github/workflows/misc-dailies.yml @@ -132,3 +132,40 @@ jobs: cat /tmp/proxpi.log - name: check only listed packages were installed run: for i in `cat /tmp/proxpi.log`; do grep -qq -i $i ${{ matrix.requirements-file }} || ( echo "$i not found" && exit 1 ); done + + run-rec-bulk-test-on-ubicloud: + if: ${{ vars.REC_BULKTEST_USE_UBICLOUD == '1' }} + name: Run Recursor (master) Bulk Test On Ubicloud + runs-on: ubicloud-standard-8-ubuntu-2404 + strategy: + matrix: + testsize: [500000] + IPv6: [0, 1] + max-parallel: 1 + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 5 + submodules: recursive + ref: ${{ inputs.branch-name }} + - name: Add PowerDNS Repo + run: echo 'deb [signed-by=/etc/apt/keyrings/rec-master-pub.asc] http://repo.powerdns.com/ubuntu noble-rec-master main' | sudo tee /etc/apt/sources.list.d/pdns.list + - name: Add key + run: sudo install -d /etc/apt/keyrings; curl https://repo.powerdns.com/CBC8B383-pub.asc | sudo tee /etc/apt/keyrings/rec-master-pub.asc + - name: Apt Update + run: sudo apt-get update + - name: Install Recursor Package and PDNS Tools + run: sudo apt install pdns-recursor pdns-tools + - name: Get Top Million Names + run: curl --no-progress-meter -LO http://s3-us-west-1.amazonaws.com/umbrella-static/top-1m.csv.zip && unzip top-1m.csv.zip -d . + working-directory: regression-tests + - name: Run Bulk Test + run: ./recursor-test 5300 ${{ matrix.testsize }} 8 2048 1024 + working-directory: regression-tests + env: + RECURSOR: /usr/sbin/pdns_recursor + RECCONTROL: /usr/bin/rec_control + DNSBULKTEST: /usr/bin/dnsbulktest + THRESHOLD: 95 + TRACE: no + IPv6: ${{ matrix.IPv6 }} diff --git a/.github/workflows/test-daily.yml b/.github/workflows/test-daily.yml deleted file mode 100644 index fbb303dc03..0000000000 --- a/.github/workflows/test-daily.yml +++ /dev/null @@ -1,52 +0,0 @@ ---- -name: 'Run daily tests' - -on: - push: - schedule: - - cron: '14 5 * * *' - workflow_call: - inputs: - branch-name: - description: 'Checkout to a specific branch' - required: true - default: 'master' - type: string - -jobs: - run-rec-bulk-test: - if: ${{ vars.REC_BULKTEST_USE_UBICLOUD == '1' }} - name: Run Recursor Bulk Test - runs-on: ubicloud-standard-8-ubuntu-2404 - strategy: - matrix: - testsize: [100000] - IPv6: [0, 1] - max-parallel: 1 - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 5 - submodules: recursive - ref: ${{ inputs.branch-name }} - - name: Add PowerDNS Repo - run: echo 'deb [signed-by=/etc/apt/keyrings/rec-master-pub.asc] http://repo.powerdns.com/ubuntu noble-rec-master main' | sudo tee /etc/apt/sources.list.d/pdns.list - - name: Add key - run: sudo install -d /etc/apt/keyrings; curl https://repo.powerdns.com/CBC8B383-pub.asc | sudo tee /etc/apt/keyrings/rec-master-pub.asc - - name: Apt Update - run: sudo apt-get update - - name: Install Recursor Package and PDNS Tools - run: sudo apt install pdns-recursor pdns-tools - - name: Get Top Million Names - run: curl --no-progress-meter -LO http://s3-us-west-1.amazonaws.com/umbrella-static/top-1m.csv.zip && unzip top-1m.csv.zip -d . - working-directory: regression-tests - - name: Run Bulk Test - run: ./recursor-test 5300 ${{ matrix.testsize }} 8 2048 1024 - working-directory: regression-tests - env: - RECURSOR: /usr/sbin/pdns_recursor - RECCONTROL: /usr/bin/rec_control - DNSBULKTEST: /usr/bin/dnsbulktest - THRESHOLD: 95 - TRACE: no - IPv6: ${{ matrix.IPv6 }}