A "Best of the Best Practices" (BOBP) guide to developing in Python.
- "Build tools for others that you want to be built for you." - Kenneth Reitz
- "Simplicity is alway better than functionality." - Pieter Hintjens
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
| from avocado import main | |
| from avocado.utils import vmimage | |
| from avocado.utils import git | |
| from avocado.utils import process | |
| from avocado.utils import path as utils_path | |
| from avocado_qemu import QemuTest | |
| from avocado_qemu import GetConsole |
| #!/bin/sh | |
| # | |
| # This script deploys the given manifest, | |
| # tracks the deployment, and rolls back on failure. | |
| # | |
| # First execute this with "myapp.yaml" and then try it with "myapp.failing.yaml" | |
| # | |
| MANIFEST_PATH=$1 | |
| DEPLOYMENT_NAME=myapp |
| { | |
| "annotations": { | |
| "list": [ | |
| { | |
| "builtIn": 1, | |
| "datasource": "-- Grafana --", | |
| "enable": true, | |
| "hide": true, | |
| "iconColor": "rgba(0, 211, 255, 1)", | |
| "name": "Annotations & Alerts", |