Re:Concourse CI Hits 1.0.0
by twic on Tuesday March 29, 2016 @05:55PM
(#11385234)
No, i think raziel2p understands. If you're using a configuration management tool like Puppet or Ansible, by far the easiest way to manage a piece of software is through a configuration file on disk that the configuration management tool can manage directly: it's easy to see the current state, and to make changes. Anything that requires a tool or an API requires you to interpose some sort of update mechanism between the configuration management tool and the software, which doesn't have the transparency of a simple file.
[ Parent
| on HN ]
Re:Concourse CI Hits 1.0.0
by jacques_chester on Tuesday March 29, 2016 @06:03PM
(#11385288)
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?
Something 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#handler...
The handler could use the command module to run fly: