mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
CI: test all DNS records
This commit is contained in:
@@ -96,5 +96,5 @@ jobs:
|
||||
run: CHATMAIL_DOMAIN2=nine.testrun.org cmdeploy test --slow
|
||||
|
||||
- name: cmdeploy dns
|
||||
run: cmdeploy dns -v
|
||||
run: cmdeploy dns -v --all
|
||||
|
||||
|
||||
2
.github/workflows/test-and-deploy.yaml
vendored
2
.github/workflows/test-and-deploy.yaml
vendored
@@ -94,5 +94,5 @@ jobs:
|
||||
run: CHATMAIL_DOMAIN2=nine.testrun.org cmdeploy test --slow
|
||||
|
||||
- name: cmdeploy dns
|
||||
run: cmdeploy dns -v
|
||||
run: cmdeploy dns -v --all
|
||||
|
||||
|
||||
@@ -55,11 +55,13 @@ def check_full_zone(sshexec, remote_data, out, zonefile, all) -> int:
|
||||
for line in required_diff:
|
||||
out(line)
|
||||
print()
|
||||
returncode += 1
|
||||
returncode = 1
|
||||
if recommended_diff and (all or not required_diff):
|
||||
out("WARNING: these recommended DNS entries are not set:\n")
|
||||
for line in recommended_diff:
|
||||
out(line)
|
||||
if all:
|
||||
returncode = 1
|
||||
|
||||
if not (recommended_diff or required_diff):
|
||||
out.green("Great! All your DNS entries are verified and correct.")
|
||||
|
||||
Reference in New Issue
Block a user