Skip to content

Commit

Permalink
ADD: Builder Tag
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoPlays committed Jun 12, 2024
1 parent 2bf0377 commit fed6480
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions controls/roles/update-changes/molecule/215/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,5 @@
- Lighthouse_service_configuration.command | select('match', '--produce-block-v3=false') | length == 0
- Teku_Beacon_service_configuration.command | select('match', '--validators-graffiti-client-append-format=DISABLED') | length == 1
- charon_service_configuration.command | select('match', '--feature-set-enable=json_requests') | length == 1
- charon_service_configuration.command | select('match', '--builder-api') | length == 1
# EOF
10 changes: 9 additions & 1 deletion controls/roles/update-changes/tasks/2.1.5/charon_changes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,12 @@
line: "{{ service_configuration_text | split('\n') | select('match', '^\\s*- --beacon-node-endpoints') | first | split('-') | first }}- --feature-set-enable=json_requests"
when:
- service_configuration.dependencies.consensusClients | selectattr('service', 'equalto', 'NimbusBeaconService') | list | length > 0
- service_configuration.command | select('match', '--feature-set-enable=json_requests') | length == 0
- service_configuration.command | select('match', '--feature-set-enable=json_requests') | length == 0

- name: add builder tag if not present
lineinfile:
path: "{{ config_file_path }}"
insertafter: "--beacon-node-endpoints"
line: "{{ service_configuration_text | split('\n') | select('match', '^\\s*- --beacon-node-endpoints') | first | split('-') | first }}- --builder-api"
when:
- service_configuration.command | select('match', '--builder-api') | length == 0

0 comments on commit fed6480

Please sign in to comment.