Skip to content

Commit c31e492

Browse files
authored
Merge pull request #1534 from input-output-hk/damien/1530/add-runbook-client-multi-platform-tests
Add runbook for 'Mithril client multi-platform test'
2 parents e39c518 + b4f55d7 commit c31e492

File tree

5 files changed

+37
-1
lines changed

5 files changed

+37
-1
lines changed

docs/runbook/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ This page gathers the available guides to operate a Mithril network.
2020
| **Create test Docker distribution** | [test-docker-distribution](./test-docker-distribution/README.md) | Create a custom test Docker distribution. |
2121
| **Deploy a test network manually** | [test-deploy-network](./test-deploy-network/README.md) | Manually deploy a test distribution to a test Mithril network. |
2222
| **Publish crates to crates.io manually** | [manual-publish-crates](./manual-publish-crates/README.md) | Manually publish Rust crates to crates.io. |
23-
| **Publish packages to npm manually** | [manual-publish-npm](./manual-publish-npm/README.md) | Manually publish packages to npm registry. |
23+
| **Publish packages to npm manually** | [manual-publish-npm](./manual-publish-npm/README.md) | Manually publish packages to npm registry. |
24+
| **Client multi-platform test** | [test-client-multiplatform](./test-client-multiplatform/README.md) | Run multi-platform client CLI binaries, docker and WASM package tests. |
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Run Mithril client multi-platform test
2+
3+
## Introduction
4+
5+
You can manually run this workflow if you want to test the Mithril client features in the following contexts:
6+
- Mithril client binaries on multi-platform (Ubuntu, MacOS and Windows)
7+
- Mithril client docker image
8+
- Mithril client WASM package with headless browsers (Chrome and Firefox)
9+
10+
## Run the associated 'Mithril Client multi-platform test' GitHub Actions workflow
11+
12+
Go to the page of the workflow with your browser: [Mithril Client multi-platform test](https://github.com/input-output-hk/mithril/actions/workflows/test-client.yml)
13+
14+
Then, click on the **Run workflow** button:
15+
16+
![Run workflow button](./img/run-workflow-button.png)
17+
18+
Then fill the form to manually run the workflow:
19+
20+
![Run workflow form](./img/run-workflow-form-png)
21+
22+
> [!WARNING]
23+
> - The **Mithril image id** of the distribution to deploy must be published on the [package registry](https://github.com/orgs/input-output-hk/packages?repo_name=mithril)
24+
25+
> [!IMPORTANT]
26+
> If you want to run the tests with an aggregator that has the signing capability for Cardano transactions, you will also need to provide a list of [Cardano transactions hashes](https://sancho.cexplorer.io/tx) separated by commas.
27+
>
28+
> The aggregator capabilities are available at the root route of the aggregator `/`:
29+
> - [Capabilities for testing-preview aggregator](https://aggregator.testing-preview.api.mithril.network/aggregator)
30+
> - [Capabilities for testing-sanchonet aggregator](https://aggregator.testing-sanchonet.api.mithril.network/aggregator)
31+
32+
33+
The result should look like this in the GitHub Actions:
34+
35+
![Run workflow result](./img/run-workflow-result.png)
Loading
Loading
Loading

0 commit comments

Comments
 (0)