Uh oh!
There was an error while loading. Please reload this page.
ci: deploy batcher with ansible - #1384
Conversation
…ansible # Conflicts: # infra/ansible/eigenlayer-cli.yaml # infra/ansible/rust.yaml # infra/ansible/setup.yaml
fix: run playbooks as ansible_user
| - name: Compile all FFIs | ||
| become: true | ||
| shell: | ||
| chdir: /home/{{ app_user }}/repos/aggregator/aligned_layer | ||
| cmd: sudo -u {{ app_user }} . /home/{{ app_user }}/.profile && sudo -u {{ app_user }} make build_all_ffi_linux |
There was a problem hiding this comment.
Instead of using sudo -u, why not use become: {{ app_user }}?
| recursive: false | ||
| # Build the batcher | ||
| - name: Install deps |
There was a problem hiding this comment.
Might be missing a become: {{ ansible_user }} here?
There was a problem hiding this comment.
It is not needed I think
uri-99
left a comment
There was a problem hiding this comment.
there are 2 values missing in batcher config yaml
it is not good i need to specify directory of keystore in the server, it shouldnt change
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
MarcosNicolau
left a comment
There was a problem hiding this comment.
Everything worked fine, only I had to change the batcher git version.
fix: set batcher version to v0.10.2
Ansible setup for Batcher
Note
This PR also adds common files for all components, like setup.yaml, webserver.yaml, etc.
Description
This PR adds the setup for the Batcher
The current inventory is set to deploy the Batcher to
aligned-holesky-stage-1server.How to Test
Follow the README instructions
Then complete the env files.
Deploy the Batcher
make ansible_batcher_deploy INVENTORY=./infra/ansible/stage_inventory.yaml KEYSTORE=<>Type of change