Skip to content

Commit

Permalink
use local minimina.json
Browse files Browse the repository at this point in the history
  • Loading branch information
dkijania committed Oct 3, 2023
1 parent 1f7527f commit 78f9152
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 1 deletion.
79 changes: 79 additions & 0 deletions automation/integration-tests/minimina.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
{
"version": 1,
"actions": [
{
"name": "create_network",
"args": {
"network_id": "string",
"genesis_ledger": "string",
"topology": "string"
},
"command": "MINIMINA network create --network-id {{network_id}} --genesis-ledger {{genesis_ledger}} --topology {{topology}}"
},
{
"name": "start_network",
"args": {
"network_id": "string"
},
"command": "MINIMINA network start --network-id {{network_id}}"
},
{
"name": "delete_network",
"args": {
"network_id": "string"
},
"command": "MINIMINA network delete --network-id {{network_id}}"
},
{
"name": "start_node",
"args": {
"network_id": "string",
"node_id": "string",
"fresh_state": "bool"
},
"command": "MINIMINA node start {{fresh_state}} --network-id {{network_id}} --node-id {{node_id}}"
},
{
"name": "stop_node",
"args": {
"network_id": "string",
"node_id": "string"
},
"command": "MINIMINA node stop --network-id {{network_id}} --node-id {{node_id}}"
},
{
"name": "dump_archive_data",
"args": {
"network_id": "string",
"node_id": "string"
},
"command": "MINIMINA node dump-archive-data --network-id {{network_id}} --node-id {{node_id}}"
},
{
"name": "dump_mina_logs",
"args": {
"network_id": "string",
"node_id": "string"
},
"command": "MINIMINA node logs --network-id {{network_id}} --node-id {{node_id}}"
},
{
"name": "dump_precomputed_blocks",
"args": {
"network_id": "string",
"node_id": "string"
},
"command": "MINIMINA node dump-precomputed-blocks --network-id {{network_id}} --node-id {{node_id}}"
},
{
"name": "run_replayer",
"args": {
"network_id": "string",
"node_id": "string",
"start_slot_since_genesis": "int"
},
"command": "MINIMINA node run-replayer --network-id {{network_id}} --node-id {{node_id}} --start-slot-since-genesis {{start_slot_since_genesis}}"
}
]
}

2 changes: 1 addition & 1 deletion buildkite/scripts/run-test-executive-minimina.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ git clone https://github.com/MinaFoundation/lucy-keypairs.git

mina-test-executive abstract "$TEST_NAME" \
--network-runner /usr/bin/minimina \
--config /var/lib/mina/minimina.json \
--config ./automation/integration-tests/minimina.json \
--keypairs-path lucy-keypairs \
--mina-image "$MINA_IMAGE" \
--archive-image "$ARCHIVE_IMAGE" \
Expand Down

0 comments on commit 78f9152

Please sign in to comment.