Open macropin opened 8 years ago
@macropin Would you be able to share the scripts that you use? This would be very helpful for anyone looking to build the plugin.
@michaelmior the links to the git repos / scripts are above.
@macropin Sorry! Missed the specific script you had above. Would a more generic solution that essentially just runs fleet deploy
be helpful? It looks like the script you posted above is fairly specific to your configuration.
I think a generic solution is what is called for. The scripts above are far more convoluted than they should be... mostly because strider.sh
needs to do a lot of work to get a git checkout for deployment.
We would love to see a plugin that provides support for deploying git managed code to a CoreOS cluster using fleet units and Strider as the management interface.
Currently we achieve the necessary result using the "custom scripts" runner and Strider Deploy, which internally uses Fleet Deploy and Fleet Deploy Atomic.
With this we are able to deploy code in an atomic fashion. The only issue with this approach is that it is not as nicely integrated as we would like it, and it requires manual installation and configuration of the build steps on every branch of every project that is deployed.
Panubo may be in a position to offer a bounty for this work.