Skip to content

Commit 3b90f61

Browse files
committed
fix: ansible and config files
1 parent b196271 commit 3b90f61

File tree

4 files changed

+18
-12
lines changed

4 files changed

+18
-12
lines changed

Makefile

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -437,8 +437,8 @@ operator_remove_from_whitelist_devnet:
437437
RPC_URL="http://localhost:8545" PRIVATE_KEY="0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80" OUTPUT_PATH=./script/output/devnet/alignedlayer_deployment_output.json ./contracts/scripts/operator_remove_from_whitelist.sh $(OPERATOR_ADDRESS)
438438

439439
operator_whitelist:
440-
@echo "Whitelisting operator $(OPERATOR_ADDRESS)"
441-
@. contracts/scripts/.env && . contracts/scripts/operator_whitelist.sh $(OPERATOR_ADDRESS)
440+
@echo "Whitelisting operator $(OPERATOR_ADDRESS) on $(NETWORK)"
441+
@. contracts/scripts/.env.$(NETWORK) && . contracts/scripts/operator_whitelist.sh $(OPERATOR_ADDRESS)
442442

443443
operator_remove_from_whitelist:
444444
@echo "Removing operator $(OPERATOR_ADDRESS)"
@@ -1377,14 +1377,12 @@ ansible_operator_create_env: ## Create empty variables files for the Operator de
13771377
@echo "Please complete the values and run make ansible_operator_deploy"
13781378

13791379
ansible_operator_deploy: ## Deploy the Operator. Parameters: INVENTORY
1380-
@if [ -z "$(INVENTORY)" ] || [ -z "$(ECDSA_KEYSTORE)" ] || [ -z "$(BLS_KEYSTORE)" ]; then \
1381-
echo "Error: INVENTORY, ECDSA_KEYSTORE, BLS_KEYSTORE must be set."; \
1380+
@if [ -z "$(INVENTORY)" ]; then \
1381+
echo "Error: INVENTORY must be set."; \
13821382
exit 1; \
13831383
fi
13841384
@ansible-playbook infra/ansible/playbooks/operator.yaml \
1385-
-i $(INVENTORY) \
1386-
-e "ecdsa_keystore_path=$(ECDSA_KEYSTORE)" \
1387-
-e "bls_keystore_path=$(BLS_KEYSTORE)"
1385+
-i $(INVENTORY)
13881386

13891387
ansible_explorer_deploy: ## Deploy the Explorer. Parameters: INVENTORY
13901388
@ansible-playbook infra/ansible/playbooks/explorer.yaml \

infra/ansible/playbooks/templates/config-files/config-aggregator.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ bls:
2121

2222
## Aggregator Configurations
2323
aggregator:
24-
server_ip_port_address: localhost:8090
24+
server_ip_port_address: 0.0.0.0:8090
2525
bls_public_key_compendium_address:
2626
avs_service_manager_address:
2727
enable_metrics: {{ enable_metrics }}

infra/ansible/playbooks/templates/prometheus/prometheus.yaml.j2

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,28 @@ alerting:
1414
# A scrape configuration containing exactly one endpoint to scrape.
1515
scrape_configs:
1616
- job_name: "aligned-aggregator"
17-
scrape_interval: 1s
17+
scrape_interval: 15s
1818
static_configs:
1919
- targets: [ "{{ prometheus_aggregator_ip }}" ]
2020
labels:
2121
bot: "aggregator"
2222

2323
- job_name: "aligned-operator"
24-
scrape_interval: 1s
24+
scrape_interval: 15s
2525
static_configs:
2626
- targets: [ "{{ prometheus_operator_ip }}" ]
2727
labels:
2828
bot: "operator"
2929

3030
- job_name: "aligned-batcher"
31-
scrape_interval: 1s
31+
scrape_interval: 15s
3232
static_configs:
3333
- targets: [ "{{ prometheus_batcher_ip }}" ]
3434
labels:
3535
bot: "batcher"
3636

3737
- job_name: "aligned-tracker"
38-
scrape_interval: 1s
38+
scrape_interval: 15s
3939
static_configs:
4040
- targets: [ "{{ prometheus_tracker_ip }}" ]
4141
labels:

infra/ansible/sepolia-inventory.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,12 @@ telemetry:
2828
ansible_host: aligned-sepolia-telemetry
2929
admin_user: admin
3030
ansible_user: app
31+
ansible_python_interpreter: /usr/bin/python3
32+
33+
operator:
34+
hosts:
35+
aligned-sepolia-operator-1:
36+
ansible_host: aligned-sepolia-operator-1
37+
admin_user: admin
38+
ansible_user: app
3139
ansible_python_interpreter: /usr/bin/python3

0 commit comments

Comments
 (0)