2 ms·
Ah, gotcha. So if I'm following this line correctly, it'll need someone to write a wrapper that detects updates to .yml files and invokes fly?
by jacques_chester 11y ago
Ah, gotcha. So if I'm following this line correctly, it'll need someone to write a wrapper that detects updates to .yml files and invokes fly?
- twic 11y agoSomething like that. You could either have a little daemon that watches a file and flies it when it changes, or you could do it straight from the configuration management tool. For example, in Ansible you'd write a handler which is triggered after updating a copy of the pipeline file somewhere: http://docs.ansible.com/ansible/playbooks_intro.html#handlers-running-operations-on-change http://docs.ansible.com/ansible/playbooks_intro.html#handler... The handler could use the command module to run fly: http://docs.ansible.com/ansible/command_module.html http://docs.ansible.com/ansible/command_module.html