From ea8d53aa9b687447b5fe1faf88b19924e7a935bb Mon Sep 17 00:00:00 2001 From: missytake Date: Wed, 17 Jan 2024 13:44:21 +0100 Subject: [PATCH] CI: test DNS entries after online tests, less flaky --- .github/workflows/test-and-deploy.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-and-deploy.yaml b/.github/workflows/test-and-deploy.yaml index d9ecd7b2..0cf655c9 100644 --- a/.github/workflows/test-and-deploy.yaml +++ b/.github/workflows/test-and-deploy.yaml @@ -55,7 +55,7 @@ jobs: - name: cmdeploy run run: cmdeploy run - - name: cmdeploy dns + - name: set DNS entries run: | echo "${{ secrets.DEFAULT_DNS_ZONE }}" > staging.testrun.org.zone cmdeploy dns --zonefile staging-additional.zone @@ -63,8 +63,10 @@ jobs: scp -o StrictHostKeyChecking=accept-new staging.testrun.org.zone root@ns.testrun.org:/etc/nsd/staging.testrun.org.zone ssh root@ns.testrun.org nsd-checkzone staging.testrun.org /etc/nsd/staging.testrun.org.zone ssh root@ns.testrun.org systemctl reload nsd - cmdeploy dns || cmdeploy dns || cmdeploy dns - name: cmdeploy test run: CHATMAIL_DOMAIN2=nine.testrun.org cmdeploy test --slow + - name: cmdeploy dns + run: cmdeploy dns || cmdeploy dns || cmdeploy dns +