]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Move workflow to misc-dailies and rename
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 10 Jan 2025 08:41:32 +0000 (09:41 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 10 Jan 2025 08:41:32 +0000 (09:41 +0100)
.github/workflows/misc-dailies.yml
.github/workflows/test-daily.yml [deleted file]

index 4f5d6cf5bf88fc7f73e8d3e15eb777275eafa97f..624a6a012f2a9dc6ae8d32363143cee42d0f74b8 100644 (file)
@@ -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 (file)
index fbb303d..0000000
+++ /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 }}