370: deploy -> inv, tasks.py: add .ruff_cache, result* to excludes  r=Mic92 a=zowoq



Co-authored-by: zowoq <59103226+zowoq@users.noreply.github.com>
This commit is contained in:
bors[bot] 2023-01-09 20:54:15 +00:00 committed by GitHub
commit 9fd83231f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 5 deletions

View file

@ -40,7 +40,7 @@ This machine is meant as an aarch64 builder for our hydra instance running on bu
## Deployment commands:
```console
$ ./deploy
$ ./inv deploy
```
If you want to reboot a machine, use the following command to also deploy secrets afterwards:

3
deploy
View file

@ -1,3 +0,0 @@
#!/usr/bin/env bash
nix develop -c inv deploy "$@"

3
inv Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
nix develop -c inv "${@:---list}"

View file

@ -8,7 +8,14 @@ from typing import Any, List
from deploykit import DeployGroup, DeployHost
from invoke import task
RSYNC_EXCLUDES = [".terraform", ".direnv", ".mypy-cache", ".git"]
RSYNC_EXCLUDES = [
".direnv",
".git",
".mypy-cache",
".ruff_cache",
".terraform",
"result*",
]
def deploy_nixos(hosts: List[DeployHost]) -> None: