From de77c17f9d25a9ca200f806499552b3c7848c9a4 Mon Sep 17 00:00:00 2001 From: missytake Date: Tue, 21 Apr 2026 14:45:19 +0200 Subject: [PATCH] ci: add cmlxc testing for no-DNS relays --- .github/workflows/ci.yaml | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5a4e0b7f..6735c05f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,4 +1,4 @@ -name: Run unit-tests and container-based deploy+test verification +name: CI on: # Triggers when a PR is merged into main or a direct push occurs @@ -57,7 +57,7 @@ jobs: lxc-test: name: LXC deploy and test - uses: chatmail/cmlxc/.github/workflows/lxc-test.yml@v0.10.0 + uses: chatmail/cmlxc/.github/workflows/lxc-test.yml@d39fe34c39cee6d760c3479325e8dc82b66a8928 with: cmlxc_commands: | cmlxc init @@ -75,3 +75,21 @@ jobs: cmlxc -v test-cmdeploy cm0 mad0 cmlxc -v test-mini cm0 mad0 cmlxc -v test-mini mad0 cm0 + + no-dns: + name: no-DNS LXC deploy and test + uses: chatmail/cmlxc/.github/workflows/lxc-test.yml@d39fe34c39cee6d760c3479325e8dc82b66a8928 + with: + cmlxc_commands: | + cmlxc init + # single cmdeploy relay test + cmlxc -v deploy-cmdeploy --source ./repo --ipv4-only --no-dns cm0 + cmlxc -v test-cmdeploy --no-dns cm0 + + # cross cmdeploy relay test + cmlxc -v deploy-cmdeploy --source ./repo cm1 + cmlxc -v test-cmdeploy --no-dns cm0 cm1 + + # cross cmdeploy/madmail relay tests + cmlxc -v deploy-madmail mad0 + cmlxc -v test-cmdeploy --no-dns cm0 mad0