5 ms·
Strongly do NOT recommend what we are doing - https://github.com/chrisgo/fabric-example https://github.com/chrisgo/fabric-example - https://github.com/chrisgo
by chrisgoman 2y ago
Strongly do NOT recommend what we are doing
- https://github.com/chrisgo/fabric-example https://github.com/chrisgo/fabric-example
- https://github.com/chrisgo/fabric2-example https://github.com/chrisgo/fabric2-example
- mdaniel 2y agoI see what you mean https://github.com/chrisgo/fabric2-example/blob/159ca5ea18446df26a80d33cbc74177a78a45019/fabfile/__init__.py#L69 https://github.com/chrisgo/fabric2-example/blob/159ca5ea1844... Also, I am obligated to point it out every time I see it: `curl --fail` for life otherwise bash will cheerfully try and execute the 503 html that curl writes out https://github.com/chrisgo/fabric2-example/blob/159ca5ea18446df26a80d33cbc74177a78a45019/fabfile/packages/bitwarden/__init__.py#L20 https://github.com/chrisgo/fabric2-example/blob/159ca5ea1844...
- chrisgoman 2y agoThanks, will take a look at that curl thing. We are still using this and been working for us for ~15 years (python 2, ported to python 3) and this is just an example of how to take https://fabfile.org https://fabfile.org to the extreme but still is not the best way to do it. We only ~50 servers so it is not a massive fleet. The convenience of typing `fab <env> <role> <task>` to do things under control is still better than nothing :)