Skip to content
Snippets Groups Projects
template.twig 425 B
Newer Older
  • Learn to ignore specific revisions
  • jurgenhaas's avatar
    jurgenhaas committed
    {% for line in loopoptions|default([]) %}
    
    [job-exec "{{  line.name }}"]
    no-overlap = true
    
    tty = true
    user = {{ line.user }}
    
    schedule = {{ line.schedule }}
    container = {{ projectname }}-php-1
    
    jurgenhaas's avatar
    jurgenhaas committed
    command = sh -c \"{{ line.command|raw|replace({'/usr/local/bin/drush': '/var/www/html/vendor/bin/drush'})|raw }}{% if line.ping_url %} && curl -fsS --retry 5 --retry-delay 9 -o /dev/null {{ line.ping_url }}{% endif %}\"
    
    jurgenhaas's avatar
    jurgenhaas committed
    {% endfor %}