ci: add cmlxc testing for no-DNS relays

This commit is contained in:
missytake
2026-04-21 14:45:19 +02:00
parent 27df0a407e
commit de77c17f9d

View File

@@ -1,4 +1,4 @@
name: Run unit-tests and container-based deploy+test verification name: CI
on: on:
# Triggers when a PR is merged into main or a direct push occurs # Triggers when a PR is merged into main or a direct push occurs
@@ -57,7 +57,7 @@ jobs:
lxc-test: lxc-test:
name: LXC deploy and 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: with:
cmlxc_commands: | cmlxc_commands: |
cmlxc init cmlxc init
@@ -75,3 +75,21 @@ jobs:
cmlxc -v test-cmdeploy cm0 mad0 cmlxc -v test-cmdeploy cm0 mad0
cmlxc -v test-mini cm0 mad0 cmlxc -v test-mini cm0 mad0
cmlxc -v test-mini mad0 cm0 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