Notes: Difference between revisions
From Wiki
No edit summary |
(Add youtube-dl trick) |
||
Line 3: | Line 3: | ||
* To enforce a particular directory as the root directory for Pytest, just drop an empty pytest.ini file into the directory that you want to be the root directory. | * To enforce a particular directory as the root directory for Pytest, just drop an empty pytest.ini file into the directory that you want to be the root directory. | ||
* To ensure that a GoCD pipeline can only run based on timer and never on a material, mark the first stage of that pipeline as manual. Or mark it as manual in the template itself. | * To ensure that a GoCD pipeline can only run based on timer and never on a material, mark the first stage of that pipeline as manual. Or mark it as manual in the template itself. | ||
* Idempotency is an essential feature of automation software like Ansible and FreedomBox. I wonder if there's a way to write a test suite that checks each action in the system for idempotency. | * Idempotency is an essential feature of automation software like Ansible and FreedomBox. I wonder if there's a way to write a test suite that checks each action in the system for idempotency. | ||
* Download a youtube playlist using <pre>$ youtube-dl -t <url></pre> |
Revision as of 19:04, 15 June 2018
Totally random dump of facts.
- To enforce a particular directory as the root directory for Pytest, just drop an empty pytest.ini file into the directory that you want to be the root directory.
- To ensure that a GoCD pipeline can only run based on timer and never on a material, mark the first stage of that pipeline as manual. Or mark it as manual in the template itself.
- Idempotency is an essential feature of automation software like Ansible and FreedomBox. I wonder if there's a way to write a test suite that checks each action in the system for idempotency.
- Download a youtube playlist using
$ youtube-dl -t <url>