Skip to content

Commit 17b388d

Browse files
committed
feat(ci): support for using DMQ in infrastucture deployment
1 parent 2048ba7 commit 17b388d

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/workflows/actions/deploy-terraform-infrastructure/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ inputs:
6363
description: Mithril use P2P network (experimental, for test only).
6464
required: false
6565
default: "false"
66+
mithril_p2p_use_dmq_protocol:
67+
description: Mithril P2P network use DMQ protocol (experimental, for test only).
68+
required: false
69+
default: "false"
6670
mithril_p2p_network_bootstrap_peer:
6771
description: Mithril P2P network bootstrap peer (experimental, for test only).
6872
required: false
@@ -247,6 +251,7 @@ runs:
247251
google_compute_instance_ssh_keys_environment = "${{ inputs.google_compute_instance_ssh_keys_environment }}"
248252
google_service_credentials_json_file = "./google-application-credentials.json"
249253
mithril_use_p2p_network = "${{ inputs.mithril_use_p2p_network }}"
254+
mithril_p2p_use_dmq_protocol = "${{ inputs.mithril_p2p_use_dmq_protocol }}"
250255
mithril_p2p_network_bootstrap_peer = "${{ inputs.mithril_p2p_network_bootstrap_peer }}"
251256
mithril_p2p_signer_relay_signer_registration_mode = "${{ inputs.mithril_p2p_signer_relay_signer_registration_mode }}"
252257
mithril_p2p_signer_relay_signature_registration_mode = "${{ inputs.mithril_p2p_signer_relay_signature_registration_mode }}"

.github/workflows/test-deploy-network.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
environment_prefix: dev
3535
cardano_network: preview
3636
mithril_use_p2p_network: true
37+
mithril_p2p_use_dmq_protocol: true
3738
mithril_p2p_signer_relay_signer_registration_mode: passthrough
3839
mithril_p2p_signer_relay_signature_registration_mode: p2p
3940
mithril_api_domain: api.mithril.network
@@ -72,6 +73,7 @@ jobs:
7273
environment_prefix: dev-follower
7374
cardano_network: preview
7475
mithril_use_p2p_network: true
76+
mithril_p2p_use_dmq_protocol: true
7577
mithril_p2p_network_bootstrap_peer: "/dns4/aggregator.dev-preview.api.mithril.network/tcp/6060"
7678
mithril_p2p_signer_relay_signer_registration_mode: passthrough
7779
mithril_p2p_signer_relay_signature_registration_mode: p2p
@@ -103,6 +105,7 @@ jobs:
103105
environment_prefix: dev
104106
cardano_network: mainnet
105107
mithril_use_p2p_network: false
108+
mithril_p2p_use_dmq_protocol: true
106109
mithril_api_domain: api.mithril.network
107110
mithril_era_reader_adapter_type: bootstrap
108111
mithril_protocol_parameters: |
@@ -160,6 +163,7 @@ jobs:
160163
google_compute_instance_ssh_keys_environment: testing
161164
google_application_credentials: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
162165
mithril_use_p2p_network: ${{ matrix.mithril_use_p2p_network }}
166+
mithril_p2p_use_dmq_protocol: ${{ matrix.mithril_p2p_use_dmq_protocol }}
163167
mithril_p2p_network_bootstrap_peer: ${{ matrix.mithril_p2p_network_bootstrap_peer }}
164168
mithril_api_domain: ${{ matrix.mithril_api_domain }}
165169
mithril_image_id: ${{ inputs.mithril_image_id }}

0 commit comments

Comments
 (0)