generated from ethereum-optimism/.github
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d1acdd7
commit cf0b394
Showing
6 changed files
with
326 additions
and
74 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
4 changes: 4 additions & 0 deletions
4
op-monitorism/faultproof_withdrawals/runbooks/automated/.env.example
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,4 @@ | ||
# .env | ||
L1_GETH_URL="https://l1-geth.rpc" | ||
L2_OP_NODE_URL="https://op-node.rpc" | ||
L2_OP_GETH_URL="https://op-geth.rpc" |
36 changes: 30 additions & 6 deletions
36
op-monitorism/faultproof_withdrawals/runbooks/automated/README.md
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 |
---|---|---|
@@ -1,8 +1,32 @@ | ||
# Running Local Jupiter | ||
# Jupyter Playbook for Incident Response | ||
|
||
In order to run the runbook you will need to prepare the enviroment, install dependencies and start jupiter. | ||
This can be achieved by using the Makefile in the folder. | ||
This repository contains Jupyter notebooks designed to help manage and streamline incident response processes. Jupyter notebooks offer an interactive, visual environment that can assist in documenting and automating various steps during incidents, making them an ideal tool for incident response teams. | ||
|
||
```bash | ||
make start | ||
``` | ||
## Why Use Jupyter Notebooks for Incident Response? | ||
|
||
Jupyter notebooks allow for a flexible and dynamic response to incidents by combining live code, notes, and visualizations in one place. They are particularly helpful in: | ||
|
||
- **Documenting steps**: Keep a real-time log of actions taken during incident resolution. | ||
- **Automation**: Execute code directly within the notebook to gather information, analyze logs, or perform specific tasks. | ||
- **Collaboration**: Share the notebook across teams or incident responders to maintain consistent actions and responses. | ||
|
||
## How to Use | ||
|
||
To run these notebooks locally: | ||
|
||
1. Clone the repository. | ||
2. Run the `make start` command, which will launch the notebooks in your local environment, allowing you to start your incident response process. | ||
|
||
## Setting Variables | ||
|
||
Before starting, you will need to configure some local variables for the notebooks to function correctly. These variables can be set in your local environment or directly within the text of the notebook. To avoid setting environment variables repeatedly for multiple runbooks, you can store them in a `.env` file located in the same folder as the notebooks. | ||
|
||
There is an example file available for your convenience (`env.example`) that you can use to create your `.env` file and adjust it as needed. This will help streamline the process of setting up your environment variables for different playbooks. | ||
|
||
## Improving Productivity | ||
|
||
As you develop new actions or workflows during incidents, you can save them within the notebooks and push the updates to Git. This allows the incident response process to evolve and improve continuously, helping to enhance productivity and ensure all team members have access to the latest procedures. | ||
|
||
## ⚠️ Warning | ||
|
||
When committing runbooks back to the repository, **make sure not to commit any runs or logs containing sensitive data**. Review the content carefully to ensure no private information is included before pushing to Git. |
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
Oops, something went wrong.