Skip to content

Instantly share code, notes, and snippets.

@rgeraskin
rgeraskin / .mise.toml
Created October 28, 2024 21:52
Mise confing for terramate and terraform
[tools]
terraform = "1.9"
terramate = "0.9"
pre-commit = "3"
awscli = "2"
"pipx:detect-secrets" = "1.4" # for pre-commit
"go:github.com/containerscrew/tftools" = "0.9.0" # for mise tm.summarize task
[settings]
experimental = true
# common
sudo apt update
sudo apt install -y git
# docker
curl -sL get.docker.io | bash
sudo usermod -aG docker $(whoami)
# kubectl
curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl
@rgeraskin
rgeraskin / pytest.sh
Created December 30, 2019 14:12 — forked from amatellanes/pytest.sh
Useful py.test commands.
py.test test_sample.py --collect-only # collects information test suite
py.test test_sample.py -v # outputs verbose messages
py.test -q test_sample.py # omit filename output
python -m pytest -q test_sample.py # calling pytest through python
py.test --markers # show available markers