forked from input-output-hk/mithril
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request input-output-hk#1360 from input-output-hk/jpraynau…
…d/1356-test-docker-deploy-runbooks Runbooks for test distributions and deployments
- Loading branch information
Showing
10 changed files
with
63 additions
and
1 deletion.
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
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,29 @@ | ||
# Manually deploy a test distribution to a test Mithril network. | ||
|
||
## Introduction | ||
|
||
From time to time, we may need to deploy manually on a test Mithril network a test distribution in order to test unreleased features independently from the regular [release process](https://mithril.network/doc/adr/3). In that case, we have the opportunity to manually deploy to a pre-configured network a specific distribution. | ||
|
||
## Run the associated 'Test network deploy' GitHub Actions workflow | ||
|
||
Go to the page of the workflow with your browser: [Docker image test](https://github.com/input-output-hk/mithril/actions/workflows/test-deploy.yml) | ||
|
||
Then, click on the **Run workflow** button: | ||
|
||
![Run workflow button](./img/run-workflow-button.png) | ||
|
||
Then fill the form to manually run the workflow: | ||
|
||
![Run workflow form](./img/run-workflow-form.png) | ||
|
||
> [!WARNING] | ||
> - The **Mithril image id** of the of the distribution to deploy must be published on the [package registry](https://github.com/orgs/input-output-hk/packages?repo_name=mithril) | ||
> [!CAUTION] | ||
> It is highly recommended to run with the **Dry run** option checked at first and make sure that the process works as expected | ||
> The deployment of a distribution can lead to irreversible damages or loss for the network | ||
|
||
The result should look like this in the GitHub Actions: | ||
|
||
![Run workflow result](./img/run-workflow-result.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,31 @@ | ||
# Create a custom test Docker distribution. | ||
|
||
## Introduction | ||
|
||
From time to time, we may need to create a test Docker distribution with custom arguments (notably the version of the Cardano CLi that is used). | ||
This is a convenient way for testing early releases of the Cardano node. This is also commonly used to create a Docker distribution from an unmerged PR. | ||
|
||
## Run the associated 'Docker images test' GitHub Actions workflow | ||
|
||
Go to the page of the workflow with your browser: [Docker image test](https://github.com/input-output-hk/mithril/actions/workflows/test-docker.yml) | ||
|
||
Then, click on the **Run workflow** button: | ||
|
||
![Run workflow button](./img/run-workflow-button.png) | ||
|
||
Then fill the form to manually run the workflow: | ||
|
||
![Run workflow form](./img/run-workflow-form.png) | ||
|
||
> [!WARNING] | ||
> - The SHA of the commit must have been run successfully in the CI workflow beforehand | ||
> [!CAUTION] | ||
> It is highly recommended to run with the **Dry run** option checked at first and make sure that the process works as expected | ||
|
||
The result should look like this in the GitHub Actions: | ||
|
||
![Run workflow result](./img/run-workflow-result.png) | ||
|
||
You should also be able to see the newly created Docker images in the [package registry](https://github.com/orgs/input-output-hk/packages?repo_name=mithril) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.