Skip to content

Commit 8e38b17

Browse files
committed
wip(ci): test DMQ node in e2e test - DO NOT MERGE
1 parent abd726f commit 8e38b17

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

.github/workflows/ci.yml

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,10 +345,31 @@ jobs:
345345
cardano_node_version: ["10.4.1", "10.5.1"]
346346
hard_fork_latest_era_at_epoch: [0]
347347
run_id: ["#1", "#2", "#3"]
348-
extra_args: ["--aggregate-signature-type=Concatenation"]
348+
extra_args:
349+
[
350+
"--aggregate-signature-type=Concatenation --use-dmq --dmq-node-flavor=haskell",
351+
]
349352

350353
include:
351-
# Include a test for partial decentralization with leader/follower signer registration and P2P signature registration
354+
# Include a test for partial decentralization with leader/follower signer registration and P2P signature registration with Haskell DMQ node
355+
- mode: "leader-follower"
356+
era: ${{ fromJSON(needs.build-ubuntu.outputs.eras)[0] }}
357+
next_era: [""]
358+
cardano_node_version: "10.5.1"
359+
hard_fork_latest_era_at_epoch: 0
360+
run_id: "#1"
361+
extra_args: "--number-of-aggregators=2 --use-relays --relay-signer-registration-mode=passthrough --relay-signature-registration-mode=p2p --aggregate-signature-type=Concatenation --use-dmq --dmq-node-flavor=haskell"
362+
363+
# Include a test for partial decentralization with leader/follower signer registration and P2P signature registration with fake DMQ node
364+
- mode: "leader-follower"
365+
era: ${{ fromJSON(needs.build-ubuntu.outputs.eras)[0] }}
366+
next_era: [""]
367+
cardano_node_version: "10.5.1"
368+
hard_fork_latest_era_at_epoch: 0
369+
run_id: "#1"
370+
extra_args: "--number-of-aggregators=2 --use-relays --relay-signer-registration-mode=passthrough --relay-signature-registration-mode=p2p --aggregate-signature-type=Concatenation --use-dmq --dmq-node-flavor=fake"
371+
372+
# Include a test for partial decentralization with leader/follower signer registration and P2P signature registration with Mithril relay
352373
- mode: "leader-follower"
353374
era: ${{ fromJSON(needs.build-ubuntu.outputs.eras)[0] }}
354375
next_era: [""]
@@ -404,6 +425,12 @@ jobs:
404425
chmod +x ./mithril-end-to-end
405426
mkdir artifacts
406427
428+
- name: Prepare DMQ node (temporary, will be removed when the DMQ node is bundled with the Cardano node)
429+
if: contains(matrix.extra_args, 'use-dmq')
430+
env:
431+
DMQ_NODE_BINARY_PATH: ${{ secrets.DMQ_NODE_BINARY_PATH }}
432+
run: cp ./mithril-test-lab/mithril-devnet/bin/dmq-node ./artifacts
433+
407434
- name: Test
408435
uses: nick-fields/retry@v3
409436
with:

0 commit comments

Comments
 (0)