Add ansible playbook to setup and run Nitro bridge #4

Merged
nabarun merged 11 commits from deep-stack/testnet-ops:ag-run-bridge into main 2024-09-09 06:11:31 +00:00
2 changed files with 16 additions and 3 deletions
Showing only changes of commit c157ea7ecf - Show all commits

View File

@ -13,11 +13,11 @@
ignore_errors: yes ignore_errors: yes
- name: Clone repositories required for nitro-stack - name: Clone repositories required for nitro-stack
command: laconic-so --stack ~/cerc/nitro-stack/stack-orchestrator/stacks/nitro-node setup-repositories --git-ssh --pull command: laconic-so --stack ~/cerc/nitro-stack/stack-orchestrator/stacks/bridge setup-repositories --git-ssh --pull
ignore_errors: yes ignore_errors: yes
- name: Build containers - name: Build containers
command: laconic-so --stack ~/cerc/nitro-stack/stack-orchestrator/stacks/nitro-node build-containers --force-rebuild command: laconic-so --stack ~/cerc/nitro-stack/stack-orchestrator/stacks/bridge build-containers --force-rebuild
when: not skip_container_build when: not skip_container_build
- name: Copy over spec file for nitro contracts deployment - name: Copy over spec file for nitro contracts deployment

View File

@ -0,0 +1,13 @@
stack: /home/{{ ansible_user }}/cerc/nitro-stack/stack-orchestrator/stacks/nitro-contracts
deploy-to: compose
config:
GETH_URL: {{ geth_url }}
GETH_CHAIN_ID: '{{ geth_chain_id }}'
GETH_DEPLOYER_PK: '{{ geth_deployer_pk }}'
TOKEN_NAME: LaconicNetworkToken
TOKEN_SYMBOL: LNT
INITIAL_TOKEN_SUPPLY: '129600'
network:
ports: {}
volumes:
nitro_deployment: ./data/nitro_deployment