Add ansible playbook to setup and run L2 deployment #3

Merged
nabarun merged 10 commits from deep-stack/testnet-ops:ag-run-l2 into main 2024-09-05 07:58:00 +00:00
Showing only changes of commit 973ee60774 - Show all commits

View File

@ -39,7 +39,7 @@ The following commands have to be executed in [`l2-setup`](./) directory
NOTE: By default, deployments are created in the `l2-setup/out` directory. To change this location, update the `l2_directory` variable in the [vars.yml](./vars.yml) file.
```bash
LANG=en_US.utf8 ansible-playbook -i localhost, --connection=local run-optimism.yml --extra-vars='{ "target_host": "localhost"}' --user $USER
LANG=en_US.utf8 ansible-playbook -i localhost, --connection=local run-optimism.yml --extra-vars='{ "target_host": "localhost"}' -kK --user $USER
```
- For skipping container build, set `"skip_container_build" : true` in the `--extra-vars` parameter:
@ -60,18 +60,18 @@ The following commands have to be executed in [`l2-setup`](./) directory
## Check Deployment Status
- Run the following command in the directory where the optimism-deployment is created
- Run the following command in the directory where the optimism-deployment is created
- Follow optimism contracts deployment logs:
- Follow optimism contracts deployment logs:
```bash
laconic-so deployment --dir optimism-deployment logs -f fixturenet-optimism-contracts
```
```bash
laconic-so deployment --dir optimism-deployment logs -f fixturenet-optimism-contracts
```
- Check L2 logs:
- Check L2 logs:
```bash
laconic-so deployment --dir optimism-deployment logs -f op-geth
```bash
laconic-so deployment --dir optimism-deployment logs -f op-geth
# Ensure new blocks are getting created
```
# Ensure new blocks are getting created
```