Merge #370
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:
commit
9fd83231f5
4 changed files with 12 additions and 5 deletions
2
HOSTS.md
2
HOSTS.md
|
@ -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
3
deploy
|
@ -1,3 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
nix develop -c inv deploy "$@"
|
3
inv
Executable file
3
inv
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
nix develop -c inv "${@:---list}"
|
9
tasks.py
9
tasks.py
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue