diff --git a/.github/workflows/ci-no-dns.yaml b/.github/workflows/ci-no-dns.yaml new file mode 100644 index 00000000..620bf083 --- /dev/null +++ b/.github/workflows/ci-no-dns.yaml @@ -0,0 +1,36 @@ +name: No-DNS + +on: + # Triggers when a PR is merged into main or a direct push occurs + push: + branches: [ "main" ] + + # Triggers for any PR (and its subsequent commits) targeting the main branch + pull_request: + branches: [ "main" ] + +# Newest push wins: Prevents multiple runs from clashing and wasting runner efforts +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + + +jobs: + no-dns: + name: LXC deploy and test + uses: chatmail/cmlxc/.github/workflows/lxc-test.yml@v0.13.5 + with: + cmlxc_version: v0.13.5 + 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 diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a938e566..6241fbe0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -77,21 +77,3 @@ jobs: 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@v0.13.5 - with: - cmlxc_version: v0.13.5 - 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