Articles Tagged : python
April 2, 2019 · 2 min read
I’ve just started some work on a fabric script that works as part of a build process.
The actual script is part of a long process, and I’m not familiar with fabric (or even python) so I spent a little time cooking a basic script that does a few things I need.
- Hello world stuff just to check I understand the syntax
- Define a remote host which is a local vagrant instance
- Run some tests
- Copy to the local server any test reports (even if the tests fail)
- Return a failure result if tests fail