-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update zombienet/cli * Fixes * Last fixes * Last fixes * Lint fixes
- Loading branch information
Showing
14 changed files
with
627 additions
and
300 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,3 @@ cjs | |
# VSCode | ||
|
||
.vscode | ||
|
||
# Tests | ||
.env.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
declined: | ||
- "@kiltprotocol/dip-sdk" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
tests/dip-provider-template-dip-consumer-template/.env.develop.test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
RELAY_IMAGE=parity/polkadot:v1.0.0 | ||
RELAY_ALICE_RPC=20001 | ||
PROVIDER_IMAGE=kiltprotocol/dip-provider-node-template:latest-develop | ||
PROVIDER_ALICE_RPC=20011 | ||
CONSUMER_IMAGE=kiltprotocol/dip-consumer-node-template:latest-develop | ||
CONSUMER_ALICE_RPC=20021 |
46 changes: 46 additions & 0 deletions
46
tests/dip-provider-template-dip-consumer-template/develop-zombienet.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
[settings] | ||
enable_tracing = false | ||
provider = "kubernetes" | ||
# 18000 seconds -> 300 minutes -> 5 hours | ||
timeout = 18000 | ||
|
||
# Env variables: | ||
# * RELAY_IMAGE: Docker image for relaychain nodes | ||
# * RELAY_ALICE_RPC: RPC port for the `relay-alice` relaychain node | ||
# * PROVIDER_IMAGE: Docker image for the DIP provider nodes | ||
# * PROVIDER_ALICE_RPC: RPC port for the `provider-alice` provider node | ||
# * CONSUMER_IMAGE: Docker image for the DIP consumer nodes | ||
# * CONSUMER_ALICE_RPC: RPC port for the `consumer-alice` consumer node | ||
|
||
[relaychain] | ||
chain = "rococo-local" | ||
default_image = "{{RELAY_IMAGE}}" | ||
default_substrate_cli_args_version = 1 | ||
|
||
[[relaychain.nodes]] | ||
name = "relay-alice" | ||
rpc_port = "{{RELAY_ALICE_RPC}}" | ||
|
||
[[relaychain.nodes]] | ||
name = "relay-bob" | ||
|
||
[[relaychain.nodes]] | ||
name = "relay-charlie" | ||
|
||
[[parachains]] | ||
id = 2000 | ||
|
||
[parachains.collator] | ||
command = "node-executable" | ||
name = "provider-alice" | ||
image = "{{PROVIDER_IMAGE}}" | ||
rpc_port = "{{PROVIDER_ALICE_RPC}}" | ||
|
||
[[parachains]] | ||
id = 2001 | ||
|
||
[parachains.collator] | ||
command = "node-executable" | ||
name = "consumer-alice" | ||
image = "{{CONSUMER_IMAGE}}" | ||
rpc_port = "{{CONSUMER_ALICE_RPC}}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
RELAY_IMAGE=parity/polkadot:v1.0.0 | ||
RELAY_ALICE_RPC=10001 | ||
PROVIDER_IMAGE=kiltprotocol/kilt-node:latest-develop | ||
PROVIDER_ALICE_RPC=10011 | ||
CONSUMER_IMAGE=kiltprotocol/dip-consumer-node-template:latest-develop | ||
CONSUMER_ALICE_RPC=10021 |
Oops, something went wrong.