mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-02-19 20:53:08 +00:00
This merge brings the following updates from the dev branch: Pull Requests: - #10: chore: update main repo dependencies (@hansieodendaal) Update for main repo changes including removal of DA config-related code and executor node dependencies - #8: Add support to use framework without running scenario (@andrussal) Add ManualCluster for controlling nodes lifecycle and reorganize node-control logic - #7: Remove DA (@andrussal) Remove DA workload usage from framework following node changes - #6: feat: refactor for using external cucumber (@hansieodendaal) Removed all references to cucumber and prepared compose docker workspace for external repo root - #4: Individual nodes connect at runtime (@andrussal) Add option to connect to arbitrary peers when starting a node - #2: feat: add cucumber auto deployer (@hansieodendaal) Added example for selecting deployer based on environment variable - #1: chore: allow older curl versions as well (@hansieodendaal) Allow compatibility with older and newer curl versions Contributors: - @andrussal - @hansieodendaal
60 lines
1.3 KiB
Plaintext
60 lines
1.3 KiB
Plaintext
services:
|
|
{% for node in validators %}
|
|
{{ node.name }}:
|
|
image: {{ node.image }}
|
|
{% if node.platform %} platform: {{ node.platform }}
|
|
{% endif %} entrypoint: {{ node.entrypoint }}
|
|
volumes:
|
|
{% for volume in node.volumes %}
|
|
- {{ volume }}
|
|
{% endfor %}
|
|
{% if node.extra_hosts | length > 0 %}
|
|
extra_hosts:
|
|
{% for host in node.extra_hosts %}
|
|
- {{ host }}
|
|
{% endfor %}
|
|
{% endif %}
|
|
ports:
|
|
{% for port in node.ports %}
|
|
- {{ port }}
|
|
{% endfor %}
|
|
environment:
|
|
{% for env in node.environment %}
|
|
{{ env.key }}: "{{ env.value }}"
|
|
{% endfor %}
|
|
cap_add:
|
|
- SYS_ADMIN
|
|
- SYS_PTRACE
|
|
security_opt:
|
|
- seccomp=unconfined
|
|
restart: on-failure
|
|
|
|
{% if node.platform %} platform: {{ node.platform }}
|
|
{% endif %} entrypoint: {{ node.entrypoint }}
|
|
volumes:
|
|
{% for volume in node.volumes %}
|
|
- {{ volume }}
|
|
{% endfor %}
|
|
{% if node.extra_hosts | length > 0 %}
|
|
extra_hosts:
|
|
{% for host in node.extra_hosts %}
|
|
- {{ host }}
|
|
{% endfor %}
|
|
{% endif %}
|
|
ports:
|
|
{% for port in node.ports %}
|
|
- {{ port }}
|
|
{% endfor %}
|
|
environment:
|
|
{% for env in node.environment %}
|
|
{{ env.key }}: "{{ env.value }}"
|
|
{% endfor %}
|
|
cap_add:
|
|
- SYS_ADMIN
|
|
- SYS_PTRACE
|
|
security_opt:
|
|
- seccomp=unconfined
|
|
restart: on-failure
|
|
|
|
{% endfor %}
|