refactoring #1

Merged
xoxys merged 10 commits from refactoring into master 2020-06-22 21:29:31 +00:00
Showing only changes of commit c960f62e22 - Show all commits

View File

@ -68,15 +68,15 @@ services:
{% if droneci_memory_reservation is defined %}
mem_reservation: {{ droneci_memory_reservation }}
{% endif %}
{% if droneci_volumes | default([]) | rejectattr("bind") | list | length > 0 %}
{% if droneci_volumes | default([]) | rejectattr("bind") %}
volumes:
{% for volume in droneci_volumes | rejectattr("bind") %}
{{ volume.name }}:
{% endfor %}
{% endif %}
{% if droneci_networks | default([]) | length > 0 %}
{% if droneci_networks | default([]) %}
networks:
{% for network in droneci_networks %}
{{ network.name }}: