Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aggregator ansible #1387

Merged
merged 80 commits into from
Nov 14, 2024
Merged

Aggregator ansible #1387

merged 80 commits into from
Nov 14, 2024

Conversation

samoht9277
Copy link
Collaborator

@samoht9277 samoht9277 commented Nov 6, 2024

Aggregator ansible automatic deployment

Description

How to test:

First create the env files:

make ansible_aggregator_create_env

Then complete the env files.

Deploy the Aggregator

make ansible_aggregator_deploy INVENTORY=./infra/ansible/stage_inventory.yaml ECDSA_KEYSTORE=<> BLS_KEYSTORE=<>

Type of change

Please delete options that are not relevant.

  • New feature
  • Bug fix
  • Optimization
  • Refactor

Checklist

  • “Hotfix” to testnet, everything else to staging
  • Linked to Github Issue
  • This change depends on code or research by an external entity
    • Acknowledgements were updated to give credit
  • Unit tests added
  • This change requires new documentation.
    • Documentation has been added/updated.
  • This change is an Optimization
    • Benchmarks added/run
  • Has a known issue
  • If your PR changes the Operator compatibility (Ex: Upgrade prover versions)
    • This PR adds compatibility for operator for both versions and do not change batcher/docs/examples
    • This PR updates batcher and docs/examples to the newer version. This requires the operator are already updated to be compatible

JuArce and others added 30 commits October 21, 2024 15:35
…ansible

# Conflicts:
#	infra/ansible/eigenlayer-cli.yaml
#	infra/ansible/rust.yaml
#	infra/ansible/setup.yaml
fix: run playbooks as ansible_user
Base automatically changed from 1344-ci-improve-servers-setup to staging November 13, 2024 17:40
@JuArce JuArce changed the base branch from staging to operator_ansible November 13, 2024 18:16
@JuArce JuArce changed the base branch from operator_ansible to staging November 13, 2024 18:16
@samoht9277 samoht9277 requested a review from JuArce November 13, 2024 20:06
infra/ansible/README.md Outdated Show resolved Hide resolved
@@ -44,4 +44,4 @@
name: "{{ user }}"
groups: docker
append: yes
state: present
state: present
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add back the newline at the end of the file, it's happening with all the telemetry .service as well


To deploy the Aggregator you need to set some variables and then run the Aggregator playbook

This will create the following file in `infra/ansible/playbooks/ini`:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what will create the file? some command is missing here?

Copy link
Collaborator

@klaus993 klaus993 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested it and works like a charm!

@JuArce JuArce enabled auto-merge November 14, 2024 22:11
@JuArce JuArce added this pull request to the merge queue Nov 14, 2024
Merged via the queue into staging with commit f5ded52 Nov 14, 2024
1 check passed
@JuArce JuArce deleted the aggregator_ansible branch November 14, 2024 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants